Imports System.Configuration
Imports System.IO
Imports stigzler
Imports System.Collections.Generic
Imports System.Data
Imports System.Linq
Imports System.Runtime.CompilerServices
Imports System.Windows.Forms
Imports System.Drawing
Imports System.Runtime.InteropServices
Imports WindowsHookLib
Imports WindowsInput
Imports Microsoft.Win32
Imports System.ComponentModel
Imports System.Drawing.Imaging
Imports WinSCP
Imports WebEye
Imports AForge.Controls
Imports AForge
Imports System.Text.RegularExpressions
Imports System.Speech


Namespace GameEx
    Public Class Configuration
        Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

        Public Sub New()
            MyBase.New()

            'This call is required by the Windows Form Designer.
            InitializeComponent()

            'Add any initialization after the InitializeComponent() call

        End Sub

        'Form overrides dispose to clean up the component list.
        Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
            If disposing Then
                If Not (components Is Nothing) Then
                    components.Dispose()
                End If
            End If
            MyBase.Dispose(disposing)
        End Sub
        Friend WithEvents GemDSConfig As GemDS
        Friend WithEvents TTGeneral As System.Windows.Forms.ToolTip
        Friend WithEvents ofd1 As System.Windows.Forms.OpenFileDialog
        Friend WithEvents SysSetupSelCB As System.Windows.Forms.ComboBox
        Friend WithEvents FBD1 As System.Windows.Forms.FolderBrowserDialog
        Friend WithEvents TabsPN As System.Windows.Forms.Panel
        Friend WithEvents TESTBT As System.Windows.Forms.Button
        Friend WithEvents FD1 As System.Windows.Forms.FontDialog
        Friend WithEvents EmuSelCB As System.Windows.Forms.ComboBox
        Friend WithEvents GameSelCB As System.Windows.Forms.ComboBox
        Friend WithEvents GamesGo As System.Windows.Forms.Button
        Friend WithEvents LogoPB As System.Windows.Forms.PictureBox
        Friend WithEvents TopPN As System.Windows.Forms.Panel
        Friend WithEvents NotifyIcon1 As System.Windows.Forms.NotifyIcon
        Friend WithEvents ContextMain As System.Windows.Forms.ContextMenuStrip
        Friend WithEvents TITLE As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents BTTimer As System.Windows.Forms.Timer
        Friend WithEvents CMSysLB As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents CMEmuLB As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents CMGameLB As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents LeaveImgChB As System.Windows.Forms.CheckBox
        Friend WithEvents ColorDialog1 As System.Windows.Forms.ColorDialog
        Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
        Friend WithEvents SystemSetupsTab As System.Windows.Forms.TabPage
        Friend WithEvents SysDGVSplit As System.Windows.Forms.SplitContainer
        Friend WithEvents GroupBox9 As System.Windows.Forms.GroupBox
        Friend WithEvents Sys_SAppsDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GroupBox19 As System.Windows.Forms.GroupBox
        Friend WithEvents SysDbInfoDGV As System.Windows.Forms.DataGridView
        Friend WithEvents Panel3 As System.Windows.Forms.Panel
        Friend WithEvents GroupBox23 As System.Windows.Forms.GroupBox
        Friend WithEvents SysSaveBT As System.Windows.Forms.Button
        Friend WithEvents SysSettsGB As System.Windows.Forms.GroupBox
        Friend WithEvents SysUseGVChB As System.Windows.Forms.CheckBox
        Friend WithEvents AutoSysNameBT As System.Windows.Forms.Button
        Friend WithEvents SysIDTB As System.Windows.Forms.TextBox
        Friend WithEvents UseQLaunchChB As System.Windows.Forms.CheckBox
        Friend WithEvents QLaunchPromptCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label16 As System.Windows.Forms.Label
        Friend WithEvents QLBT As System.Windows.Forms.Button
        Friend WithEvents QuicklaunchTB As System.Windows.Forms.TextBox
        Friend WithEvents Label15 As System.Windows.Forms.Label
        Friend WithEvents ROMSFolderBT As System.Windows.Forms.Button
        Friend WithEvents ROMSFolderTB As System.Windows.Forms.TextBox
        Friend WithEvents Label14 As System.Windows.Forms.Label
        Friend WithEvents EmuSetupCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label13 As System.Windows.Forms.Label
        Friend WithEvents SysCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label12 As System.Windows.Forms.Label
        Friend WithEvents SysSetupNameTB As System.Windows.Forms.TextBox
        Friend WithEvents Label11 As System.Windows.Forms.Label
        Friend WithEvents GroupBox7 As System.Windows.Forms.GroupBox
        Friend WithEvents GEIDTB As System.Windows.Forms.TextBox
        Friend WithEvents Label10 As System.Windows.Forms.Label
        Friend WithEvents EnableCB As System.Windows.Forms.CheckBox
        Friend WithEvents TitlePathTB As System.Windows.Forms.TextBox
        Friend WithEvents SnapPathTB As System.Windows.Forms.TextBox
        Friend WithEvents Label8 As System.Windows.Forms.Label
        Friend WithEvents Label9 As System.Windows.Forms.Label
        Friend WithEvents RomPathTB As System.Windows.Forms.TextBox
        Friend WithEvents TitleTTB As System.Windows.Forms.TextBox
        Friend WithEvents DatabaseTB As System.Windows.Forms.TextBox
        Friend WithEvents StartPNTB As System.Windows.Forms.TextBox
        Friend WithEvents Label7 As System.Windows.Forms.Label
        Friend WithEvents Label6 As System.Windows.Forms.Label
        Friend WithEvents Label5 As System.Windows.Forms.Label
        Friend WithEvents Label4 As System.Windows.Forms.Label
        Friend WithEvents EmuSetupsTab As System.Windows.Forms.TabPage
        Friend WithEvents SplitContainer1 As System.Windows.Forms.SplitContainer
        Friend WithEvents GroupBox15 As System.Windows.Forms.GroupBox
        Friend WithEvents EmuSuppAppsDGV As System.Windows.Forms.DataGridView
        Friend WithEvents SplitContainer2 As System.Windows.Forms.SplitContainer
        Friend WithEvents GroupBox16 As System.Windows.Forms.GroupBox
        Friend WithEvents EmuKeyRemapDGV As System.Windows.Forms.DataGridView
        Friend WithEvents SplitContainer8 As System.Windows.Forms.SplitContainer
        Friend WithEvents GroupBox18 As System.Windows.Forms.GroupBox
        Friend WithEvents TableLayoutPanel4 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents GameFileExtDownBT As System.Windows.Forms.Button
        Friend WithEvents EmusFileExtDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GameFileExtUpBT As System.Windows.Forms.Button
        Friend WithEvents EmuSettsProfsDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GroupBox24 As System.Windows.Forms.GroupBox
        Friend WithEvents EmuLoadSettsBT As System.Windows.Forms.Button
        Friend WithEvents EmuAddProfBT As System.Windows.Forms.Button
        Friend WithEvents EmuSaveEmuSettsBT As System.Windows.Forms.Button
        Friend WithEvents EmuAddProfTB As System.Windows.Forms.TextBox
        Friend WithEvents EmuSave As System.Windows.Forms.Button
        Friend WithEvents EmuClearBT As System.Windows.Forms.Button
        Friend WithEvents EmuDelBT As System.Windows.Forms.Button
        Friend WithEvents SaveNewBT As System.Windows.Forms.Button
        Friend WithEvents EmuSetupGB As System.Windows.Forms.GroupBox
        Friend WithEvents EmuDisQLChB As System.Windows.Forms.CheckBox
        Friend WithEvents EmuAutoNameBT As System.Windows.Forms.Button
        Friend WithEvents EmuIDTB As System.Windows.Forms.TextBox
        Friend WithEvents SetupBootTB As System.Windows.Forms.TextBox
        Friend WithEvents Label25 As System.Windows.Forms.Label
        Friend WithEvents FullBootTB As System.Windows.Forms.TextBox
        Friend WithEvents Label24 As System.Windows.Forms.Label
        Friend WithEvents EmuExeBT As System.Windows.Forms.Button
        Friend WithEvents EmuExeTB As System.Windows.Forms.TextBox
        Friend WithEvents Label17 As System.Windows.Forms.Label
        Friend WithEvents EmuSysCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label19 As System.Windows.Forms.Label
        Friend WithEvents EmuListnameCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label18 As System.Windows.Forms.Label
        Friend WithEvents EmuNameTB As System.Windows.Forms.TextBox
        Friend WithEvents Label20 As System.Windows.Forms.Label
        Friend WithEvents EmuSettsScriptGB As System.Windows.Forms.GroupBox
        Friend WithEvents GroupBox27 As System.Windows.Forms.GroupBox
        Friend WithEvents UseSettsScrptChB As System.Windows.Forms.RadioButton
        Friend WithEvents EmuSettsProfUseChB As System.Windows.Forms.RadioButton
        Friend WithEvents EmuSettsProfCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label40 As System.Windows.Forms.Label
        Friend WithEvents EmuSettsAlgoCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label39 As System.Windows.Forms.Label
        Friend WithEvents KeepSettsHxChB As System.Windows.Forms.CheckBox
        Friend WithEvents VirtDriveGB As System.Windows.Forms.GroupBox
        Friend WithEvents VirtDriveCB As System.Windows.Forms.ComboBox
        Friend WithEvents MountImgChB As System.Windows.Forms.CheckBox
        Friend WithEvents Label2 As System.Windows.Forms.Label
        Friend WithEvents Label21 As System.Windows.Forms.Label
        Friend WithEvents DriveTypeCB As System.Windows.Forms.ComboBox
        Friend WithEvents DriveLetterTB As System.Windows.Forms.TextBox
        Friend WithEvents Label23 As System.Windows.Forms.Label
        Friend WithEvents GameSetupsTab As System.Windows.Forms.TabPage
        Friend WithEvents GamesRHS As System.Windows.Forms.SplitContainer
        Friend WithEvents GroupBox17 As System.Windows.Forms.GroupBox
        Friend WithEvents GameSuppAppsDGV As System.Windows.Forms.DataGridView
        Friend WithEvents SplitBottom As System.Windows.Forms.SplitContainer
        Friend WithEvents GamesKeyRemapGB As System.Windows.Forms.GroupBox
        Friend WithEvents GameKeyRemapDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GamePGSettsDGV As System.Windows.Forms.DataGridView
        Friend WithEvents Panel7 As System.Windows.Forms.Panel
        Friend WithEvents GroupBox34 As System.Windows.Forms.GroupBox
        Friend WithEvents GamesSave As System.Windows.Forms.Button
        Friend WithEvents PGSettsProfAddBT As System.Windows.Forms.Button
        Friend WithEvents Button5 As System.Windows.Forms.Button
        Friend WithEvents Button2 As System.Windows.Forms.Button
        Friend WithEvents GameClear As System.Windows.Forms.Button
        Friend WithEvents LoadSettsBT As System.Windows.Forms.Button
        Friend WithEvents GamesDelete As System.Windows.Forms.Button
        Friend WithEvents PGSettsProfAddTB As System.Windows.Forms.TextBox
        Friend WithEvents GamesEmuSettsGB As System.Windows.Forms.GroupBox
        Friend WithEvents GroupBox33 As System.Windows.Forms.GroupBox
        Friend WithEvents EmuProfTB As System.Windows.Forms.TextBox
        Friend WithEvents Label51 As System.Windows.Forms.Label
        Friend WithEvents EmuOnlyChB As System.Windows.Forms.CheckBox
        Friend WithEvents GameInSettsHxChB As System.Windows.Forms.CheckBox
        Friend WithEvents GroupBox32 As System.Windows.Forms.GroupBox
        Friend WithEvents GameSettsHxChB As System.Windows.Forms.CheckBox
        Friend WithEvents PGAlgoChB As System.Windows.Forms.CheckBox
        Friend WithEvents PGOverrideChB As System.Windows.Forms.CheckBox
        Friend WithEvents PGSettsProfCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label42 As System.Windows.Forms.Label
        Friend WithEvents PGSettsAlgCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label43 As System.Windows.Forms.Label
        Friend WithEvents GameProfileGB As System.Windows.Forms.GroupBox
        Friend WithEvents Def4gameChB As System.Windows.Forms.CheckBox
        Friend WithEvents GameUniqueNameTB As System.Windows.Forms.TextBox
        Friend WithEvents ForGameGB As System.Windows.Forms.GroupBox
        Friend WithEvents Label34 As System.Windows.Forms.Label
        Friend WithEvents SupKeyMapChB As System.Windows.Forms.CheckBox
        Friend WithEvents SupSuppAppsChB As System.Windows.Forms.CheckBox
        Friend WithEvents GameQLaunchPrompt As System.Windows.Forms.ComboBox
        Friend WithEvents GameMountChB As System.Windows.Forms.CheckBox
        Friend WithEvents GroupBox20 As System.Windows.Forms.GroupBox
        Friend WithEvents NoRemapsTB As System.Windows.Forms.TextBox
        Friend WithEvents NoAppsTB As System.Windows.Forms.TextBox
        Friend WithEvents Label50 As System.Windows.Forms.Label
        Friend WithEvents Label49 As System.Windows.Forms.Label
        Friend WithEvents Label35 As System.Windows.Forms.Label
        Friend WithEvents GameInPromptCB As System.Windows.Forms.ComboBox
        Friend WithEvents GameInMountChB As System.Windows.Forms.CheckBox
        Friend WithEvents Label27 As System.Windows.Forms.Label
        Friend WithEvents GameCmdTB As System.Windows.Forms.TextBox
        Friend WithEvents GameSysSetupCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label22 As System.Windows.Forms.Label
        Friend WithEvents Label3 As System.Windows.Forms.Label
        Friend WithEvents GameGENameTB As System.Windows.Forms.TextBox
        Friend WithEvents Button6 As System.Windows.Forms.Button
        Friend WithEvents GameID As System.Windows.Forms.TextBox
        Friend WithEvents GameRomFileBT As System.Windows.Forms.Button
        Friend WithEvents GameRomFileTB As System.Windows.Forms.TextBox
        Friend WithEvents Label26 As System.Windows.Forms.Label
        Friend WithEvents GameEmuSetupCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label28 As System.Windows.Forms.Label
        Friend WithEvents GameEditNameTB As System.Windows.Forms.TextBox
        Friend WithEvents Label29 As System.Windows.Forms.Label
        Friend WithEvents EmuSettsTab As System.Windows.Forms.TabPage
        Friend WithEvents SplitContainer5 As System.Windows.Forms.SplitContainer
        Friend WithEvents TableLayoutPanel2 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents GroupBox10 As System.Windows.Forms.GroupBox
        Friend WithEvents rbHKEY_CURRENT_USER As System.Windows.Forms.RadioButton
        Friend WithEvents rbHKEY_LOCAL_MACHINE As System.Windows.Forms.RadioButton
        Friend WithEvents rbHKEY_USERS As System.Windows.Forms.RadioButton
        Friend WithEvents rbHKEY_CURRENT_CONFIG As System.Windows.Forms.RadioButton
        Friend WithEvents rbHKEY_CLASSES_ROOT As System.Windows.Forms.RadioButton
        Friend WithEvents tvRegistryKeys As System.Windows.Forms.TreeView
        Friend WithEvents SplitContainer6 As System.Windows.Forms.SplitContainer
        Friend WithEvents TableLayoutPanel5 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents lvValues As System.Windows.Forms.ListView
        Friend WithEvents TableLayoutPanel6 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox
        Friend WithEvents lblValues As System.Windows.Forms.Label
        Friend WithEvents SplitContainer7 As System.Windows.Forms.SplitContainer
        Friend WithEvents TableLayoutPanel8 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents GroupBox22 As System.Windows.Forms.GroupBox
        Friend WithEvents EmuSettsTypeCB As System.Windows.Forms.ComboBox
        Friend WithEvents EmuSettsIDTB As System.Windows.Forms.TextBox
        Friend WithEvents NewEmuBT As System.Windows.Forms.Button
        Friend WithEvents NewGameBT As System.Windows.Forms.Button
        Friend WithEvents EmuSettsDGV As System.Windows.Forms.DataGridView
        Friend WithEvents TableLayoutPanel7 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents EmuSettsItemsDGV As System.Windows.Forms.DataGridView
        Friend WithEvents AlgSettsEdit As System.Windows.Forms.GroupBox
        Friend WithEvents btnSelectValue As System.Windows.Forms.Button
        Friend WithEvents btnSelectKey As System.Windows.Forms.Button
        Friend WithEvents EmuSettsFolderBT As System.Windows.Forms.Button
        Friend WithEvents EmuSettsFileBT As System.Windows.Forms.Button
        Friend WithEvents AdditionalTab As System.Windows.Forms.TabPage
        Friend WithEvents TableLayoutPanel3 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents GroupBox8 As System.Windows.Forms.GroupBox
        Friend WithEvents SupportDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GroupBox13 As System.Windows.Forms.GroupBox
        Friend WithEvents VirtDrivesDGV As System.Windows.Forms.DataGridView
        Friend WithEvents ListsTab As System.Windows.Forms.TabPage
        Friend WithEvents Panel4 As System.Windows.Forms.Panel
        Friend WithEvents TableLayoutPanel1 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
        Friend WithEvents EmuListDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
        Friend WithEvents SysListDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
        Friend WithEvents UserEmusDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
        Friend WithEvents FileExtDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GroupBox21 As System.Windows.Forms.GroupBox
        Friend WithEvents TableLayoutPanel9 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents KeysDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GroupBox25 As System.Windows.Forms.GroupBox
        Friend WithEvents PrevTBEraseBT As System.Windows.Forms.Button
        Friend WithEvents Label38 As System.Windows.Forms.Label
        Friend WithEvents PrevTB As System.Windows.Forms.TextBox
        Friend WithEvents Button1 As System.Windows.Forms.Button
        Friend WithEvents Blurble As System.Windows.Forms.TextBox
        Friend WithEvents GroupBox36 As System.Windows.Forms.GroupBox
        Friend WithEvents lblKeys As System.Windows.Forms.Label
        Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
        Friend WithEvents DDTest As System.Windows.Forms.TextBox
        Friend WithEvents GamesRomFolderTB As System.Windows.Forms.TextBox
        Friend WithEvents MainPanelSplit As System.Windows.Forms.SplitContainer
        Friend WithEvents InfoBox As System.Windows.Forms.RichTextBox
        Friend WithEvents ToggleTokens As System.Windows.Forms.Button
        Friend WithEvents GroupBox28 As System.Windows.Forms.GroupBox
        Friend WithEvents GroupBox35 As System.Windows.Forms.GroupBox
        Friend WithEvents BootSelectedRB As System.Windows.Forms.RadioButton
        Friend WithEvents BootDefaultRB As System.Windows.Forms.RadioButton
        Friend WithEvents GEEmuCB As System.Windows.Forms.ComboBox
        Friend WithEvents Label52 As System.Windows.Forms.Label
        Friend WithEvents TmpGEEmuID As System.Windows.Forms.TextBox
        Friend WithEvents SplitContainer3 As System.Windows.Forms.SplitContainer
        Friend WithEvents GroupBox37 As System.Windows.Forms.GroupBox
        Friend WithEvents EmuConfigAppsDGV As System.Windows.Forms.DataGridView
        Friend WithEvents BackgroundWorker1 As System.ComponentModel.BackgroundWorker
        Friend WithEvents GameCustom2 As System.Windows.Forms.TextBox
        Friend WithEvents Label53 As System.Windows.Forms.Label
        Friend WithEvents GameCustom1 As System.Windows.Forms.TextBox
        Friend WithEvents ImportSetts As System.Windows.Forms.Button
        Friend WithEvents ExportSetts As System.Windows.Forms.Button
        Friend WithEvents SFD1 As System.Windows.Forms.SaveFileDialog
        Friend WithEvents SysNewBT As System.Windows.Forms.Button
        Friend WithEvents SysDeleteBT As System.Windows.Forms.Button
        Friend WithEvents SysClearBT As System.Windows.Forms.Button
        Friend WithEvents EmuHeaderTB As System.Windows.Forms.TextBox
        Friend WithEvents Label54 As System.Windows.Forms.Label
        Friend WithEvents MountTB As System.Windows.Forms.TextBox
        Friend WithEvents RefreshMountBT As System.Windows.Forms.Button
        Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBox5 As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBox4 As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBox3 As System.Windows.Forms.PictureBox
        Friend WithEvents SetupBootBT As System.Windows.Forms.Button
        Friend WithEvents OpenQL As System.Windows.Forms.Button
        Friend WithEvents UnmountBT As System.Windows.Forms.Button
        Friend WithEvents VDriveLetterTB As System.Windows.Forms.TextBox
        Friend WithEvents DEBUG As System.Windows.Forms.GroupBox
        Friend WithEvents VDriveTypeTB As System.Windows.Forms.TextBox
        Friend WithEvents FullBootBT As System.Windows.Forms.Button
        Friend WithEvents BootEmuBT As System.Windows.Forms.Button
        Friend WithEvents OpenRomsBT As System.Windows.Forms.Button
        Friend WithEvents SaveEmuSettsTitle As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents SaveEmuSettsSelCB As System.Windows.Forms.ToolStripComboBox
        Friend WithEvents ContextEmuSettsProfCB As System.Windows.Forms.ToolStripComboBox
        Friend WithEvents SAVEToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents CloseToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents LaunchToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents ToolStripComboBox1 As System.Windows.Forms.ToolStripComboBox
        Friend WithEvents GameFullBootToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents GameSetupBootToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents EmulatorToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents FoldersToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents OpenQuickalunchToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents OpenROMFolderToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents GEmvoyToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents CloseGEmvoyConfigToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents SplitContainer4 As System.Windows.Forms.SplitContainer
        Friend WithEvents SysEmusGB As System.Windows.Forms.GroupBox
        Friend WithEvents SysEmusDGV As System.Windows.Forms.DataGridView
        Friend WithEvents LoadToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents EmuUnzip As System.Windows.Forms.CheckBox
        Friend WithEvents TableLayoutPanel10 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents DelSuppAppBT As System.Windows.Forms.Button
        Friend WithEvents ShowGEmvoyToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents EmuSettsIndicatorPB As System.Windows.Forms.PictureBox
        Friend WithEvents FocusBoxTB As System.Windows.Forms.TextBox
        Friend WithEvents Label32 As System.Windows.Forms.Label
        Friend WithEvents ContextLeaveMountChB As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents GameSpecSettsContext As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents PerGameOnEmuToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents PerGameOnGameToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents UseAlgoChB As System.Windows.Forms.CheckBox
        Friend WithEvents FadeToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents Button4 As System.Windows.Forms.Button
        Friend WithEvents SaveAll As System.Windows.Forms.Button
        Friend WithEvents SplitTop As System.Windows.Forms.SplitContainer
        Friend WithEvents Panel2 As System.Windows.Forms.Panel
        Friend WithEvents GamesGB As System.Windows.Forms.GroupBox
        Friend WithEvents TableLayoutPanel11 As System.Windows.Forms.TableLayoutPanel
        Friend WithEvents GamesListDGV As System.Windows.Forms.DataGridView
        Friend WithEvents GamesListFilterCB As System.Windows.Forms.ComboBox
        Friend WithEvents Button7 As System.Windows.Forms.Button
        Friend WithEvents DbBUBt As System.Windows.Forms.Button
        Friend WithEvents UpdateAlgosBT As System.Windows.Forms.Button
        Friend WithEvents PictureBox10 As System.Windows.Forms.PictureBox
        Friend WithEvents Button8 As System.Windows.Forms.Button
        Friend WithEvents Camera As System.Windows.Forms.TabPage
        Friend WithEvents WCSnap As System.Windows.Forms.Button
        Friend WithEvents WCStop As System.Windows.Forms.Button
        Friend WithEvents WCStart As System.Windows.Forms.Button
        Friend WithEvents WCPrev As WebEye.Controls.WinForms.WebCameraControl.WebCameraControl
        Friend WithEvents WCSelect As System.Windows.Forms.ComboBox
        Friend WithEvents CamSnap As System.Windows.Forms.PictureBox
        Friend WithEvents SnapBrightness As System.Windows.Forms.TrackBar
        Friend WithEvents SnapGamma As System.Windows.Forms.TrackBar
        Friend WithEvents SnapContrast As System.Windows.Forms.TrackBar
        Friend WithEvents SlidersResetBT As System.Windows.Forms.Button
        Friend WithEvents SnapRed As System.Windows.Forms.TrackBar
        Friend WithEvents SnapBlue As System.Windows.Forms.TrackBar
        Friend WithEvents SnapGreen As System.Windows.Forms.TrackBar
        Friend WithEvents GroupBox39 As System.Windows.Forms.GroupBox
        Friend WithEvents Label58 As System.Windows.Forms.Label
        Friend WithEvents SnapMode As System.Windows.Forms.ComboBox
        Friend WithEvents GroupBox38 As System.Windows.Forms.GroupBox
        Friend WithEvents ImageAdjustGB As System.Windows.Forms.GroupBox
        Friend WithEvents Label57 As System.Windows.Forms.Label
        Friend WithEvents Label56 As System.Windows.Forms.Label
        Friend WithEvents Label62 As System.Windows.Forms.Label
        Friend WithEvents Label61 As System.Windows.Forms.Label
        Friend WithEvents Label60 As System.Windows.Forms.Label
        Friend WithEvents Label59 As System.Windows.Forms.Label
        Friend WithEvents BurstNumber As System.Windows.Forms.TextBox
        Friend WithEvents SnapProbability As System.Windows.Forms.TextBox
        Friend WithEvents BurstWait As System.Windows.Forms.TextBox
        Friend WithEvents SnapGap As System.Windows.Forms.TextBox
        Friend WithEvents GroupBox40 As System.Windows.Forms.GroupBox
        Friend WithEvents SnapStamp As System.Windows.Forms.CheckBox
        Friend WithEvents SnapPIP As System.Windows.Forms.CheckBox
        Friend WithEvents SnapDateFolders As System.Windows.Forms.CheckBox
        Friend WithEvents Label64 As System.Windows.Forms.Label
        Friend WithEvents SnapPath As System.Windows.Forms.TextBox
        Friend WithEvents SnapPathFBD_BT As System.Windows.Forms.Button
        Friend WithEvents Label63 As System.Windows.Forms.Label
        Friend WithEvents SnapFor As System.Windows.Forms.TextBox
        Friend WithEvents ImgSaveBT As System.Windows.Forms.Button
        Friend WithEvents CamSnapEnabled As System.Windows.Forms.CheckBox
        Friend WithEvents SnapKeyName As System.Windows.Forms.TextBox
        Friend WithEvents UseHotkeyChB As System.Windows.Forms.CheckBox
        Friend WithEvents WarnOnBootChB As System.Windows.Forms.CheckBox
        Friend WithEvents DisablePIP As System.Windows.Forms.CheckBox
        Friend WithEvents EmuFolderBT As System.Windows.Forms.Button
        Friend WithEvents Button9 As System.Windows.Forms.Button
        Friend WithEvents GETweaks As System.Windows.Forms.TabPage
        Friend WithEvents GETweaksAudioGB As System.Windows.Forms.GroupBox
        Friend WithEvents Button11 As System.Windows.Forms.Button
        Friend WithEvents GESoundIntro As System.Windows.Forms.TextBox
        Friend WithEvents Button10 As System.Windows.Forms.Button
        Friend WithEvents Button18 As System.Windows.Forms.Button
        Friend WithEvents Label68 As System.Windows.Forms.Label
        Friend WithEvents Button16 As System.Windows.Forms.Button
        Friend WithEvents GESoundLaunch As System.Windows.Forms.TextBox
        Friend WithEvents Button17 As System.Windows.Forms.Button
        Friend WithEvents Label67 As System.Windows.Forms.Label
        Friend WithEvents Button14 As System.Windows.Forms.Button
        Friend WithEvents GESoundSelect As System.Windows.Forms.TextBox
        Friend WithEvents Button15 As System.Windows.Forms.Button
        Friend WithEvents Label66 As System.Windows.Forms.Label
        Friend WithEvents Button12 As System.Windows.Forms.Button
        Friend WithEvents GESoundFocus As System.Windows.Forms.TextBox
        Friend WithEvents Button13 As System.Windows.Forms.Button
        Friend WithEvents Label65 As System.Windows.Forms.Label
        Friend WithEvents GroupBox12 As System.Windows.Forms.GroupBox
        Friend WithEvents DialoguePrevPB As System.Windows.Forms.PictureBox
        Friend WithEvents MsgBoxPrevPB As System.Windows.Forms.PictureBox
        Friend WithEvents Button19 As System.Windows.Forms.Button
        Friend WithEvents Button20 As System.Windows.Forms.Button
        Friend WithEvents DialogPosCB As System.Windows.Forms.ComboBox
        Friend WithEvents PaddingTB As System.Windows.Forms.TextBox
        Friend WithEvents Label70 As System.Windows.Forms.Label
        Friend WithEvents Label69 As System.Windows.Forms.Label
        Friend WithEvents RfrshCamsBT As System.Windows.Forms.Button
        Friend WithEvents GPTimer As System.Windows.Forms.Timer
        Friend WithEvents JoyLB As System.Windows.Forms.Label
        Friend WithEvents MsgScaler As System.Windows.Forms.TextBox
        Friend WithEvents Label73 As System.Windows.Forms.Label
        Friend WithEvents CamGPHotkeyTB As System.Windows.Forms.TextBox
        Friend WithEvents RandomLaunchChB As System.Windows.Forms.CheckBox
        Friend WithEvents RandomIntroBTChB As System.Windows.Forms.CheckBox
        Friend WithEvents Label77 As System.Windows.Forms.Label
        Friend WithEvents RandomLaunchTB As System.Windows.Forms.TextBox
        Friend WithEvents RandomLaunchBT As System.Windows.Forms.Button
        Friend WithEvents RandomINtroTB As System.Windows.Forms.TextBox
        Friend WithEvents RandomIntroBT As System.Windows.Forms.Button
        Friend WithEvents Button21 As System.Windows.Forms.Button
        Friend WithEvents GamesNarrowCB As System.Windows.Forms.ComboBox
        Friend WithEvents CheckBox1 As System.Windows.Forms.CheckBox
        Friend WithEvents SettingsTab As System.Windows.Forms.TabPage
        Friend WithEvents GEOPtsGB As System.Windows.Forms.GroupBox
        Friend WithEvents Label74 As System.Windows.Forms.Label
        Friend WithEvents EmuHKGPTB As System.Windows.Forms.TextBox
        Friend WithEvents Label72 As System.Windows.Forms.Label
        Friend WithEvents GEEmuHotkeyTB As System.Windows.Forms.TextBox
        Friend WithEvents SuppSettsAudioChB As System.Windows.Forms.CheckBox
        Friend WithEvents GroupBox11 As System.Windows.Forms.GroupBox
        Friend WithEvents DonateBT As System.Windows.Forms.PictureBox
        Friend WithEvents EmuSettsDL As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBox9 As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBox8 As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBox7 As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBox6 As System.Windows.Forms.PictureBox
        Friend WithEvents GroupBox31 As System.Windows.Forms.GroupBox
        Friend WithEvents MsgDemo As System.Windows.Forms.Button
        Friend WithEvents ShowTicker As System.Windows.Forms.CheckBox
        Friend WithEvents MsgDefaultBT As System.Windows.Forms.Button
        Friend WithEvents LogoPB2 As System.Windows.Forms.PictureBox
        Friend WithEvents PromptEgTB As System.Windows.Forms.TextBox
        Friend WithEvents PromptBGColBT As System.Windows.Forms.Button
        Friend WithEvents PromptFGColBT As System.Windows.Forms.Button
        Friend WithEvents ProcMsgFontBT As System.Windows.Forms.Button
        Friend WithEvents VersionLB As System.Windows.Forms.Label
        Friend WithEvents GroupBox30 As System.Windows.Forms.GroupBox
        Friend WithEvents RefreshGPs As System.Windows.Forms.Button
        Friend WithEvents Label71 As System.Windows.Forms.Label
        Friend WithEvents GPSelSetTB As System.Windows.Forms.TextBox
        Friend WithEvents Label48 As System.Windows.Forms.Label
        Friend WithEvents SelTB As System.Windows.Forms.TextBox
        Friend WithEvents Label47 As System.Windows.Forms.Label
        Friend WithEvents Label46 As System.Windows.Forms.Label
        Friend WithEvents Label45 As System.Windows.Forms.Label
        Friend WithEvents Label44 As System.Windows.Forms.Label
        Friend WithEvents DelAlwysTB As System.Windows.Forms.TextBox
        Friend WithEvents KeepAlwysTB As System.Windows.Forms.TextBox
        Friend WithEvents KeepThisTB As System.Windows.Forms.TextBox
        Friend WithEvents DelThisTB As System.Windows.Forms.TextBox
        Friend WithEvents GroupBox14 As System.Windows.Forms.GroupBox
        Friend WithEvents Label55 As System.Windows.Forms.Label
        Friend WithEvents QLBaseTB As System.Windows.Forms.TextBox
        Friend WithEvents QLBaseBT As System.Windows.Forms.Button
        Friend WithEvents SettsReset As System.Windows.Forms.Button
        Friend WithEvents DebugMode As System.Windows.Forms.CheckBox
        Friend WithEvents MinConfig As System.Windows.Forms.CheckBox
        Friend WithEvents ContextY As System.Windows.Forms.TextBox
        Friend WithEvents ContextX As System.Windows.Forms.TextBox
        Friend WithEvents Label37 As System.Windows.Forms.Label
        Friend WithEvents Label36 As System.Windows.Forms.Label
        Friend WithEvents ContextMoveChB As System.Windows.Forms.CheckBox
        Friend WithEvents FormText As System.Windows.Forms.PictureBox
        Friend WithEvents SaveSettsBT As System.Windows.Forms.Button
        Friend WithEvents SysSetupDelChB As System.Windows.Forms.CheckBox
        Friend WithEvents EnableAdv As System.Windows.Forms.CheckBox
        Friend WithEvents GUIFontBT As System.Windows.Forms.Button
        Friend WithEvents Button3 As System.Windows.Forms.Button
        Friend WithEvents EmuDelChB As System.Windows.Forms.CheckBox
        Friend WithEvents DelQLChB As System.Windows.Forms.CheckBox
        Friend WithEvents DriveLtrTB As System.Windows.Forms.TextBox
        Friend WithEvents Label33 As System.Windows.Forms.Label
        Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox
        Friend WithEvents UnECMChB As System.Windows.Forms.CheckBox
        Friend WithEvents SettsShowZipChB As System.Windows.Forms.CheckBox
        Friend WithEvents Label1 As System.Windows.Forms.Label
        Friend WithEvents ZipExeTB As System.Windows.Forms.TextBox
        Friend WithEvents Get7ZBT As System.Windows.Forms.Button
        Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
        Friend WithEvents Debug2Log As System.Windows.Forms.CheckBox
        Friend WithEvents VerbLogCB As System.Windows.Forms.CheckBox
        Friend WithEvents SysDetsCB As System.Windows.Forms.CheckBox
        Friend WithEvents ShowDebugCB As System.Windows.Forms.CheckBox
        Friend WithEvents GroupBox41 As System.Windows.Forms.GroupBox
        Friend WithEvents FreeText As System.Windows.Forms.PictureBox
        Friend WithEvents DropdownText As System.Windows.Forms.PictureBox
        Friend WithEvents ReadOnlyText As System.Windows.Forms.PictureBox
        Friend WithEvents TextboxBG As System.Windows.Forms.PictureBox
        Friend WithEvents DropdownBG As System.Windows.Forms.PictureBox
        Friend WithEvents ButtonsBG As System.Windows.Forms.PictureBox
        Friend WithEvents ReadOnlyBG As System.Windows.Forms.PictureBox
        Friend WithEvents DatagridBG As System.Windows.Forms.PictureBox
        Friend WithEvents DatagridHeadersBG As System.Windows.Forms.PictureBox
        Friend WithEvents FormBG As System.Windows.Forms.PictureBox
        Friend WithEvents Label75 As System.Windows.Forms.Label
        Friend WithEvents Label86 As System.Windows.Forms.Label
        Friend WithEvents Label85 As System.Windows.Forms.Label
        Friend WithEvents Label84 As System.Windows.Forms.Label
        Friend WithEvents Label83 As System.Windows.Forms.Label
        Friend WithEvents Label82 As System.Windows.Forms.Label
        Friend WithEvents Label81 As System.Windows.Forms.Label
        Friend WithEvents Label80 As System.Windows.Forms.Label
        Friend WithEvents Label79 As System.Windows.Forms.Label
        Friend WithEvents Label78 As System.Windows.Forms.Label
        Friend WithEvents Label76 As System.Windows.Forms.Label
        Friend WithEvents Label87 As System.Windows.Forms.Label
        Friend WithEvents Label90 As System.Windows.Forms.Label
        Friend WithEvents Label89 As System.Windows.Forms.Label
        Friend WithEvents Label88 As System.Windows.Forms.Label
        Friend WithEvents Label91 As System.Windows.Forms.Label
        Friend WithEvents TopPanelBG As System.Windows.Forms.PictureBox
        Friend WithEvents CustmLoadStartup As System.Windows.Forms.CheckBox
        Friend WithEvents MakeQLDirBT As System.Windows.Forms.Button
        Friend WithEvents ConfigLog As System.Windows.Forms.Button
        Friend WithEvents Button22 As System.Windows.Forms.Button
        Friend WithEvents Label92 As System.Windows.Forms.Label
        Friend WithEvents DatagridText As System.Windows.Forms.PictureBox
        Friend WithEvents GroupBox42 As System.Windows.Forms.GroupBox
        Friend WithEvents PictureBox11 As System.Windows.Forms.PictureBox
        Friend WithEvents GroupBox43 As System.Windows.Forms.GroupBox
        Friend WithEvents PictureBox12 As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBox13 As System.Windows.Forms.PictureBox
        Friend WithEvents NetZipToLocalChB As System.Windows.Forms.CheckBox
        Friend WithEvents Label31 As System.Windows.Forms.Label
        Friend WithEvents Label30 As System.Windows.Forms.Label
        Friend WithEvents Label41 As System.Windows.Forms.Label
        Friend WithEvents PictureBox14 As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBox15 As System.Windows.Forms.PictureBox
        Friend WithEvents Label93 As System.Windows.Forms.Label
        Friend WithEvents DbDirTB As System.Windows.Forms.TextBox
        Friend WithEvents DbDirBT As System.Windows.Forms.Button
        Friend WithEvents Label94 As System.Windows.Forms.Label
        Friend WithEvents CloudDummyExtTB As System.Windows.Forms.TextBox
        Friend WithEvents Panel1 As System.Windows.Forms.Panel
        Friend WithEvents SkipMount As System.Windows.Forms.CheckBox
        Friend WithEvents StripBracketsChB As System.Windows.Forms.CheckBox
        Friend WithEvents ResetWindowToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents CreateFolderBT As System.Windows.Forms.Button
        Friend WithEvents CrFoldersChB As System.Windows.Forms.ComboBox
        Friend WithEvents Speech As System.Windows.Forms.TabPage
        Friend WithEvents Button23 As System.Windows.Forms.Button
        Friend WithEvents Label95 As System.Windows.Forms.Label
        Friend WithEvents srRTB As System.Windows.Forms.RichTextBox
        Friend WithEvents SpeechTimer As System.Windows.Forms.Timer
        Friend WithEvents AudioLevelTB As System.Windows.Forms.TextBox
        Friend WithEvents Label96 As System.Windows.Forms.Label
        Friend WithEvents AudioLevelTrB As System.Windows.Forms.TrackBar
        Friend WithEvents Button24 As System.Windows.Forms.Button

        'Required by the Windows Form Designer
        Private components As System.ComponentModel.IContainer

        'NOTE: The following procedure is required by the Windows Form Designer
        'It can be modified using the Windows Form Designer.  
        'Do not modify it using the code editor.
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            Me.components = New System.ComponentModel.Container()
            Dim GroupBox29 As System.Windows.Forms.GroupBox
            Dim GroupBox26 As System.Windows.Forms.GroupBox
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Configuration))
            Me.GamePGSettsDGV = New System.Windows.Forms.DataGridView()
            Me.EmuSettsProfsDGV = New System.Windows.Forms.DataGridView()
            Me.TopPN = New System.Windows.Forms.Panel()
            Me.SkipMount = New System.Windows.Forms.CheckBox()
            Me.CheckBox1 = New System.Windows.Forms.CheckBox()
            Me.Button9 = New System.Windows.Forms.Button()
            Me.EmuFolderBT = New System.Windows.Forms.Button()
            Me.DbBUBt = New System.Windows.Forms.Button()
            Me.SaveAll = New System.Windows.Forms.Button()
            Me.Button4 = New System.Windows.Forms.Button()
            Me.EmuSettsIndicatorPB = New System.Windows.Forms.PictureBox()
            Me.BootEmuBT = New System.Windows.Forms.Button()
            Me.OpenRomsBT = New System.Windows.Forms.Button()
            Me.FullBootBT = New System.Windows.Forms.Button()
            Me.VDriveLetterTB = New System.Windows.Forms.TextBox()
            Me.UnmountBT = New System.Windows.Forms.Button()
            Me.GamesGo = New System.Windows.Forms.Button()
            Me.Button1 = New System.Windows.Forms.Button()
            Me.OpenQL = New System.Windows.Forms.Button()
            Me.RefreshMountBT = New System.Windows.Forms.Button()
            Me.SetupBootBT = New System.Windows.Forms.Button()
            Me.PictureBox5 = New System.Windows.Forms.PictureBox()
            Me.PictureBox4 = New System.Windows.Forms.PictureBox()
            Me.PictureBox3 = New System.Windows.Forms.PictureBox()
            Me.PictureBox1 = New System.Windows.Forms.PictureBox()
            Me.MountTB = New System.Windows.Forms.TextBox()
            Me.LeaveImgChB = New System.Windows.Forms.CheckBox()
            Me.EmuHeaderTB = New System.Windows.Forms.TextBox()
            Me.GroupBox35 = New System.Windows.Forms.GroupBox()
            Me.BootSelectedRB = New System.Windows.Forms.RadioButton()
            Me.BootDefaultRB = New System.Windows.Forms.RadioButton()
            Me.ToggleTokens = New System.Windows.Forms.Button()
            Me.LogoPB = New System.Windows.Forms.PictureBox()
            Me.SysSetupSelCB = New System.Windows.Forms.ComboBox()
            Me.GameSelCB = New System.Windows.Forms.ComboBox()
            Me.TextBox1 = New System.Windows.Forms.TextBox()
            Me.DDTest = New System.Windows.Forms.TextBox()
            Me.GamesRomFolderTB = New System.Windows.Forms.TextBox()
            Me.GameSysSetupCB = New System.Windows.Forms.ComboBox()
            Me.TESTBT = New System.Windows.Forms.Button()
            Me.EmuSelCB = New System.Windows.Forms.ComboBox()
            Me.TTGeneral = New System.Windows.Forms.ToolTip(Me.components)
            Me.Def4gameChB = New System.Windows.Forms.CheckBox()
            Me.FocusBoxTB = New System.Windows.Forms.TextBox()
            Me.Button7 = New System.Windows.Forms.Button()
            Me.Label53 = New System.Windows.Forms.Label()
            Me.Label22 = New System.Windows.Forms.Label()
            Me.GameQLaunchPrompt = New System.Windows.Forms.ComboBox()
            Me.Label27 = New System.Windows.Forms.Label()
            Me.Label3 = New System.Windows.Forms.Label()
            Me.Label26 = New System.Windows.Forms.Label()
            Me.Label28 = New System.Windows.Forms.Label()
            Me.Label29 = New System.Windows.Forms.Label()
            Me.GroupBox9 = New System.Windows.Forms.GroupBox()
            Me.Sys_SAppsDGV = New System.Windows.Forms.DataGridView()
            Me.GroupBox19 = New System.Windows.Forms.GroupBox()
            Me.SysDbInfoDGV = New System.Windows.Forms.DataGridView()
            Me.SysNewBT = New System.Windows.Forms.Button()
            Me.SysDeleteBT = New System.Windows.Forms.Button()
            Me.SysClearBT = New System.Windows.Forms.Button()
            Me.SysSaveBT = New System.Windows.Forms.Button()
            Me.MakeQLDirBT = New System.Windows.Forms.Button()
            Me.Label52 = New System.Windows.Forms.Label()
            Me.UseQLaunchChB = New System.Windows.Forms.CheckBox()
            Me.QLaunchPromptCB = New System.Windows.Forms.ComboBox()
            Me.Label16 = New System.Windows.Forms.Label()
            Me.Label15 = New System.Windows.Forms.Label()
            Me.Label14 = New System.Windows.Forms.Label()
            Me.Label13 = New System.Windows.Forms.Label()
            Me.Label12 = New System.Windows.Forms.Label()
            Me.Label11 = New System.Windows.Forms.Label()
            Me.Label54 = New System.Windows.Forms.Label()
            Me.EmuLoadSettsBT = New System.Windows.Forms.Button()
            Me.EmuSaveEmuSettsBT = New System.Windows.Forms.Button()
            Me.EmuUnzip = New System.Windows.Forms.CheckBox()
            Me.EmuDisQLChB = New System.Windows.Forms.CheckBox()
            Me.Label25 = New System.Windows.Forms.Label()
            Me.Label24 = New System.Windows.Forms.Label()
            Me.UseAlgoChB = New System.Windows.Forms.CheckBox()
            Me.UseSettsScrptChB = New System.Windows.Forms.RadioButton()
            Me.EmuSettsProfCB = New System.Windows.Forms.ComboBox()
            Me.KeepSettsHxChB = New System.Windows.Forms.CheckBox()
            Me.Label39 = New System.Windows.Forms.Label()
            Me.MountImgChB = New System.Windows.Forms.CheckBox()
            Me.DriveLetterTB = New System.Windows.Forms.TextBox()
            Me.UpdateAlgosBT = New System.Windows.Forms.Button()
            Me.PictureBox10 = New System.Windows.Forms.PictureBox()
            Me.Button8 = New System.Windows.Forms.Button()
            Me.SnapGamma = New System.Windows.Forms.TrackBar()
            Me.SnapContrast = New System.Windows.Forms.TrackBar()
            Me.SnapBrightness = New System.Windows.Forms.TrackBar()
            Me.SnapRed = New System.Windows.Forms.TrackBar()
            Me.SnapGreen = New System.Windows.Forms.TrackBar()
            Me.SnapBlue = New System.Windows.Forms.TrackBar()
            Me.Label59 = New System.Windows.Forms.Label()
            Me.Label60 = New System.Windows.Forms.Label()
            Me.Label61 = New System.Windows.Forms.Label()
            Me.Label62 = New System.Windows.Forms.Label()
            Me.Label63 = New System.Windows.Forms.Label()
            Me.SnapStamp = New System.Windows.Forms.CheckBox()
            Me.SnapPIP = New System.Windows.Forms.CheckBox()
            Me.SnapDateFolders = New System.Windows.Forms.CheckBox()
            Me.Label58 = New System.Windows.Forms.Label()
            Me.UseHotkeyChB = New System.Windows.Forms.CheckBox()
            Me.SnapKeyName = New System.Windows.Forms.TextBox()
            Me.CamSnapEnabled = New System.Windows.Forms.CheckBox()
            Me.WarnOnBootChB = New System.Windows.Forms.CheckBox()
            Me.DisablePIP = New System.Windows.Forms.CheckBox()
            Me.Label65 = New System.Windows.Forms.Label()
            Me.Label66 = New System.Windows.Forms.Label()
            Me.Label67 = New System.Windows.Forms.Label()
            Me.Button18 = New System.Windows.Forms.Button()
            Me.DialoguePrevPB = New System.Windows.Forms.PictureBox()
            Me.Button19 = New System.Windows.Forms.Button()
            Me.Label70 = New System.Windows.Forms.Label()
            Me.Label69 = New System.Windows.Forms.Label()
            Me.Button20 = New System.Windows.Forms.Button()
            Me.RfrshCamsBT = New System.Windows.Forms.Button()
            Me.SettsShowZipChB = New System.Windows.Forms.CheckBox()
            Me.GroupBox14 = New System.Windows.Forms.GroupBox()
            Me.CreateFolderBT = New System.Windows.Forms.Button()
            Me.CrFoldersChB = New System.Windows.Forms.ComboBox()
            Me.StripBracketsChB = New System.Windows.Forms.CheckBox()
            Me.CloudDummyExtTB = New System.Windows.Forms.TextBox()
            Me.Label94 = New System.Windows.Forms.Label()
            Me.Label93 = New System.Windows.Forms.Label()
            Me.DbDirTB = New System.Windows.Forms.TextBox()
            Me.DbDirBT = New System.Windows.Forms.Button()
            Me.Label55 = New System.Windows.Forms.Label()
            Me.QLBaseTB = New System.Windows.Forms.TextBox()
            Me.QLBaseBT = New System.Windows.Forms.Button()
            Me.DebugMode = New System.Windows.Forms.CheckBox()
            Me.MinConfig = New System.Windows.Forms.CheckBox()
            Me.ContextY = New System.Windows.Forms.TextBox()
            Me.ContextX = New System.Windows.Forms.TextBox()
            Me.Label37 = New System.Windows.Forms.Label()
            Me.Label36 = New System.Windows.Forms.Label()
            Me.ContextMoveChB = New System.Windows.Forms.CheckBox()
            Me.SysSetupDelChB = New System.Windows.Forms.CheckBox()
            Me.EnableAdv = New System.Windows.Forms.CheckBox()
            Me.EmuDelChB = New System.Windows.Forms.CheckBox()
            Me.DelQLChB = New System.Windows.Forms.CheckBox()
            Me.DriveLtrTB = New System.Windows.Forms.TextBox()
            Me.Label33 = New System.Windows.Forms.Label()
            Me.SettsReset = New System.Windows.Forms.Button()
            Me.SaveSettsBT = New System.Windows.Forms.Button()
            Me.GUIFontBT = New System.Windows.Forms.Button()
            Me.Button3 = New System.Windows.Forms.Button()
            Me.FormText = New System.Windows.Forms.PictureBox()
            Me.DelThisTB = New System.Windows.Forms.TextBox()
            Me.KeepThisTB = New System.Windows.Forms.TextBox()
            Me.KeepAlwysTB = New System.Windows.Forms.TextBox()
            Me.DelAlwysTB = New System.Windows.Forms.TextBox()
            Me.SelTB = New System.Windows.Forms.TextBox()
            Me.ProcMsgFontBT = New System.Windows.Forms.Button()
            Me.PictureBox6 = New System.Windows.Forms.PictureBox()
            Me.PictureBox7 = New System.Windows.Forms.PictureBox()
            Me.PictureBox8 = New System.Windows.Forms.PictureBox()
            Me.PictureBox9 = New System.Windows.Forms.PictureBox()
            Me.EmuSettsDL = New System.Windows.Forms.PictureBox()
            Me.DonateBT = New System.Windows.Forms.PictureBox()
            Me.SuppSettsAudioChB = New System.Windows.Forms.CheckBox()
            Me.GEEmuHotkeyTB = New System.Windows.Forms.TextBox()
            Me.Label72 = New System.Windows.Forms.Label()
            Me.FormBG = New System.Windows.Forms.PictureBox()
            Me.DatagridHeadersBG = New System.Windows.Forms.PictureBox()
            Me.DatagridBG = New System.Windows.Forms.PictureBox()
            Me.ReadOnlyBG = New System.Windows.Forms.PictureBox()
            Me.ButtonsBG = New System.Windows.Forms.PictureBox()
            Me.DropdownBG = New System.Windows.Forms.PictureBox()
            Me.TextboxBG = New System.Windows.Forms.PictureBox()
            Me.ReadOnlyText = New System.Windows.Forms.PictureBox()
            Me.DropdownText = New System.Windows.Forms.PictureBox()
            Me.FreeText = New System.Windows.Forms.PictureBox()
            Me.TopPanelBG = New System.Windows.Forms.PictureBox()
            Me.Button22 = New System.Windows.Forms.Button()
            Me.ConfigLog = New System.Windows.Forms.Button()
            Me.DatagridText = New System.Windows.Forms.PictureBox()
            Me.EmuAddProfBT = New System.Windows.Forms.Button()
            Me.PGSettsProfAddBT = New System.Windows.Forms.Button()
            Me.NetZipToLocalChB = New System.Windows.Forms.CheckBox()
            Me.MsgDemo = New System.Windows.Forms.Button()
            Me.RefreshGPs = New System.Windows.Forms.Button()
            Me.Button24 = New System.Windows.Forms.Button()
            Me.SysSettsGB = New System.Windows.Forms.GroupBox()
            Me.GEEmuCB = New System.Windows.Forms.ComboBox()
            Me.SysUseGVChB = New System.Windows.Forms.CheckBox()
            Me.SysIDTB = New System.Windows.Forms.TextBox()
            Me.QLBT = New System.Windows.Forms.Button()
            Me.QuicklaunchTB = New System.Windows.Forms.TextBox()
            Me.ROMSFolderBT = New System.Windows.Forms.Button()
            Me.ROMSFolderTB = New System.Windows.Forms.TextBox()
            Me.EmuSetupCB = New System.Windows.Forms.ComboBox()
            Me.SysCB = New System.Windows.Forms.ComboBox()
            Me.AutoSysNameBT = New System.Windows.Forms.Button()
            Me.SysSetupNameTB = New System.Windows.Forms.TextBox()
            Me.SnapFor = New System.Windows.Forms.TextBox()
            Me.ofd1 = New System.Windows.Forms.OpenFileDialog()
            Me.FBD1 = New System.Windows.Forms.FolderBrowserDialog()
            Me.TabsPN = New System.Windows.Forms.Panel()
            Me.MainPanelSplit = New System.Windows.Forms.SplitContainer()
            Me.TabControl1 = New System.Windows.Forms.TabControl()
            Me.SystemSetupsTab = New System.Windows.Forms.TabPage()
            Me.SysDGVSplit = New System.Windows.Forms.SplitContainer()
            Me.Panel3 = New System.Windows.Forms.Panel()
            Me.DEBUG = New System.Windows.Forms.GroupBox()
            Me.Button21 = New System.Windows.Forms.Button()
            Me.JoyLB = New System.Windows.Forms.Label()
            Me.Label32 = New System.Windows.Forms.Label()
            Me.VDriveTypeTB = New System.Windows.Forms.TextBox()
            Me.GroupBox23 = New System.Windows.Forms.GroupBox()
            Me.Label31 = New System.Windows.Forms.Label()
            Me.PictureBox11 = New System.Windows.Forms.PictureBox()
            Me.GroupBox7 = New System.Windows.Forms.GroupBox()
            Me.Label87 = New System.Windows.Forms.Label()
            Me.TmpGEEmuID = New System.Windows.Forms.TextBox()
            Me.GEIDTB = New System.Windows.Forms.TextBox()
            Me.Label10 = New System.Windows.Forms.Label()
            Me.EnableCB = New System.Windows.Forms.CheckBox()
            Me.TitlePathTB = New System.Windows.Forms.TextBox()
            Me.SnapPathTB = New System.Windows.Forms.TextBox()
            Me.Label8 = New System.Windows.Forms.Label()
            Me.Label9 = New System.Windows.Forms.Label()
            Me.RomPathTB = New System.Windows.Forms.TextBox()
            Me.TitleTTB = New System.Windows.Forms.TextBox()
            Me.DatabaseTB = New System.Windows.Forms.TextBox()
            Me.StartPNTB = New System.Windows.Forms.TextBox()
            Me.Label7 = New System.Windows.Forms.Label()
            Me.Label6 = New System.Windows.Forms.Label()
            Me.Label5 = New System.Windows.Forms.Label()
            Me.Label4 = New System.Windows.Forms.Label()
            Me.EmuSetupsTab = New System.Windows.Forms.TabPage()
            Me.SplitContainer1 = New System.Windows.Forms.SplitContainer()
            Me.SplitContainer3 = New System.Windows.Forms.SplitContainer()
            Me.GroupBox15 = New System.Windows.Forms.GroupBox()
            Me.EmuSuppAppsDGV = New System.Windows.Forms.DataGridView()
            Me.GroupBox16 = New System.Windows.Forms.GroupBox()
            Me.EmuKeyRemapDGV = New System.Windows.Forms.DataGridView()
            Me.SplitContainer2 = New System.Windows.Forms.SplitContainer()
            Me.SplitContainer4 = New System.Windows.Forms.SplitContainer()
            Me.SysEmusGB = New System.Windows.Forms.GroupBox()
            Me.SysEmusDGV = New System.Windows.Forms.DataGridView()
            Me.GroupBox37 = New System.Windows.Forms.GroupBox()
            Me.EmuConfigAppsDGV = New System.Windows.Forms.DataGridView()
            Me.SplitContainer8 = New System.Windows.Forms.SplitContainer()
            Me.GroupBox18 = New System.Windows.Forms.GroupBox()
            Me.TableLayoutPanel4 = New System.Windows.Forms.TableLayoutPanel()
            Me.GameFileExtDownBT = New System.Windows.Forms.Button()
            Me.EmusFileExtDGV = New System.Windows.Forms.DataGridView()
            Me.GameFileExtUpBT = New System.Windows.Forms.Button()
            Me.Panel2 = New System.Windows.Forms.Panel()
            Me.GroupBox43 = New System.Windows.Forms.GroupBox()
            Me.GroupBox28 = New System.Windows.Forms.GroupBox()
            Me.Label30 = New System.Windows.Forms.Label()
            Me.PictureBox12 = New System.Windows.Forms.PictureBox()
            Me.SaveNewBT = New System.Windows.Forms.Button()
            Me.EmuClearBT = New System.Windows.Forms.Button()
            Me.EmuSave = New System.Windows.Forms.Button()
            Me.EmuDelBT = New System.Windows.Forms.Button()
            Me.GroupBox24 = New System.Windows.Forms.GroupBox()
            Me.PictureBox14 = New System.Windows.Forms.PictureBox()
            Me.EmuAddProfTB = New System.Windows.Forms.TextBox()
            Me.EmuSetupGB = New System.Windows.Forms.GroupBox()
            Me.EmuAutoNameBT = New System.Windows.Forms.Button()
            Me.EmuIDTB = New System.Windows.Forms.TextBox()
            Me.SetupBootTB = New System.Windows.Forms.TextBox()
            Me.FullBootTB = New System.Windows.Forms.TextBox()
            Me.EmuExeBT = New System.Windows.Forms.Button()
            Me.EmuExeTB = New System.Windows.Forms.TextBox()
            Me.Label17 = New System.Windows.Forms.Label()
            Me.EmuSysCB = New System.Windows.Forms.ComboBox()
            Me.Label19 = New System.Windows.Forms.Label()
            Me.EmuListnameCB = New System.Windows.Forms.ComboBox()
            Me.Label18 = New System.Windows.Forms.Label()
            Me.EmuNameTB = New System.Windows.Forms.TextBox()
            Me.Label20 = New System.Windows.Forms.Label()
            Me.EmuSettsScriptGB = New System.Windows.Forms.GroupBox()
            Me.GroupBox27 = New System.Windows.Forms.GroupBox()
            Me.EmuSettsProfUseChB = New System.Windows.Forms.RadioButton()
            Me.Label40 = New System.Windows.Forms.Label()
            Me.EmuSettsAlgoCB = New System.Windows.Forms.ComboBox()
            Me.VirtDriveGB = New System.Windows.Forms.GroupBox()
            Me.VirtDriveCB = New System.Windows.Forms.ComboBox()
            Me.Label2 = New System.Windows.Forms.Label()
            Me.Label21 = New System.Windows.Forms.Label()
            Me.DriveTypeCB = New System.Windows.Forms.ComboBox()
            Me.Label23 = New System.Windows.Forms.Label()
            Me.GameSetupsTab = New System.Windows.Forms.TabPage()
            Me.GamesRHS = New System.Windows.Forms.SplitContainer()
            Me.SplitTop = New System.Windows.Forms.SplitContainer()
            Me.GroupBox17 = New System.Windows.Forms.GroupBox()
            Me.GameSuppAppsDGV = New System.Windows.Forms.DataGridView()
            Me.GamesKeyRemapGB = New System.Windows.Forms.GroupBox()
            Me.GameKeyRemapDGV = New System.Windows.Forms.DataGridView()
            Me.SplitBottom = New System.Windows.Forms.SplitContainer()
            Me.GamesGB = New System.Windows.Forms.GroupBox()
            Me.TableLayoutPanel11 = New System.Windows.Forms.TableLayoutPanel()
            Me.GamesListDGV = New System.Windows.Forms.DataGridView()
            Me.GamesNarrowCB = New System.Windows.Forms.ComboBox()
            Me.GamesListFilterCB = New System.Windows.Forms.ComboBox()
            Me.Panel7 = New System.Windows.Forms.Panel()
            Me.GroupBox42 = New System.Windows.Forms.GroupBox()
            Me.PictureBox15 = New System.Windows.Forms.PictureBox()
            Me.LoadSettsBT = New System.Windows.Forms.Button()
            Me.Button2 = New System.Windows.Forms.Button()
            Me.PGSettsProfAddTB = New System.Windows.Forms.TextBox()
            Me.GroupBox34 = New System.Windows.Forms.GroupBox()
            Me.Label41 = New System.Windows.Forms.Label()
            Me.PictureBox13 = New System.Windows.Forms.PictureBox()
            Me.GamesSave = New System.Windows.Forms.Button()
            Me.Button5 = New System.Windows.Forms.Button()
            Me.GameClear = New System.Windows.Forms.Button()
            Me.GamesDelete = New System.Windows.Forms.Button()
            Me.GameUniqueNameTB = New System.Windows.Forms.TextBox()
            Me.GamesEmuSettsGB = New System.Windows.Forms.GroupBox()
            Me.GroupBox33 = New System.Windows.Forms.GroupBox()
            Me.Label90 = New System.Windows.Forms.Label()
            Me.Label89 = New System.Windows.Forms.Label()
            Me.EmuProfTB = New System.Windows.Forms.TextBox()
            Me.Label51 = New System.Windows.Forms.Label()
            Me.EmuOnlyChB = New System.Windows.Forms.CheckBox()
            Me.GameInSettsHxChB = New System.Windows.Forms.CheckBox()
            Me.GroupBox32 = New System.Windows.Forms.GroupBox()
            Me.GameSettsHxChB = New System.Windows.Forms.CheckBox()
            Me.PGAlgoChB = New System.Windows.Forms.CheckBox()
            Me.PGOverrideChB = New System.Windows.Forms.CheckBox()
            Me.PGSettsProfCB = New System.Windows.Forms.ComboBox()
            Me.Label42 = New System.Windows.Forms.Label()
            Me.PGSettsAlgCB = New System.Windows.Forms.ComboBox()
            Me.Label43 = New System.Windows.Forms.Label()
            Me.GameProfileGB = New System.Windows.Forms.GroupBox()
            Me.GameCustom2 = New System.Windows.Forms.TextBox()
            Me.GameCustom1 = New System.Windows.Forms.TextBox()
            Me.GameGENameTB = New System.Windows.Forms.TextBox()
            Me.ForGameGB = New System.Windows.Forms.GroupBox()
            Me.Label34 = New System.Windows.Forms.Label()
            Me.SupKeyMapChB = New System.Windows.Forms.CheckBox()
            Me.SupSuppAppsChB = New System.Windows.Forms.CheckBox()
            Me.GameMountChB = New System.Windows.Forms.CheckBox()
            Me.GroupBox20 = New System.Windows.Forms.GroupBox()
            Me.Label88 = New System.Windows.Forms.Label()
            Me.NoRemapsTB = New System.Windows.Forms.TextBox()
            Me.NoAppsTB = New System.Windows.Forms.TextBox()
            Me.Label50 = New System.Windows.Forms.Label()
            Me.Label49 = New System.Windows.Forms.Label()
            Me.Label35 = New System.Windows.Forms.Label()
            Me.GameInPromptCB = New System.Windows.Forms.ComboBox()
            Me.GameInMountChB = New System.Windows.Forms.CheckBox()
            Me.GameCmdTB = New System.Windows.Forms.TextBox()
            Me.Button6 = New System.Windows.Forms.Button()
            Me.GameID = New System.Windows.Forms.TextBox()
            Me.GameRomFileBT = New System.Windows.Forms.Button()
            Me.GameRomFileTB = New System.Windows.Forms.TextBox()
            Me.GameEmuSetupCB = New System.Windows.Forms.ComboBox()
            Me.GameEditNameTB = New System.Windows.Forms.TextBox()
            Me.EmuSettsTab = New System.Windows.Forms.TabPage()
            Me.SplitContainer5 = New System.Windows.Forms.SplitContainer()
            Me.TableLayoutPanel2 = New System.Windows.Forms.TableLayoutPanel()
            Me.tvRegistryKeys = New System.Windows.Forms.TreeView()
            Me.GroupBox36 = New System.Windows.Forms.GroupBox()
            Me.ImportSetts = New System.Windows.Forms.Button()
            Me.Blurble = New System.Windows.Forms.TextBox()
            Me.ExportSetts = New System.Windows.Forms.Button()
            Me.lblKeys = New System.Windows.Forms.Label()
            Me.GroupBox10 = New System.Windows.Forms.GroupBox()
            Me.rbHKEY_CURRENT_USER = New System.Windows.Forms.RadioButton()
            Me.rbHKEY_LOCAL_MACHINE = New System.Windows.Forms.RadioButton()
            Me.rbHKEY_USERS = New System.Windows.Forms.RadioButton()
            Me.rbHKEY_CURRENT_CONFIG = New System.Windows.Forms.RadioButton()
            Me.rbHKEY_CLASSES_ROOT = New System.Windows.Forms.RadioButton()
            Me.SplitContainer6 = New System.Windows.Forms.SplitContainer()
            Me.TableLayoutPanel5 = New System.Windows.Forms.TableLayoutPanel()
            Me.lvValues = New System.Windows.Forms.ListView()
            Me.TableLayoutPanel6 = New System.Windows.Forms.TableLayoutPanel()
            Me.PictureBox2 = New System.Windows.Forms.PictureBox()
            Me.lblValues = New System.Windows.Forms.Label()
            Me.SplitContainer7 = New System.Windows.Forms.SplitContainer()
            Me.TableLayoutPanel8 = New System.Windows.Forms.TableLayoutPanel()
            Me.GroupBox22 = New System.Windows.Forms.GroupBox()
            Me.EmuSettsTypeCB = New System.Windows.Forms.ComboBox()
            Me.EmuSettsIDTB = New System.Windows.Forms.TextBox()
            Me.NewEmuBT = New System.Windows.Forms.Button()
            Me.NewGameBT = New System.Windows.Forms.Button()
            Me.EmuSettsDGV = New System.Windows.Forms.DataGridView()
            Me.TableLayoutPanel7 = New System.Windows.Forms.TableLayoutPanel()
            Me.EmuSettsItemsDGV = New System.Windows.Forms.DataGridView()
            Me.AlgSettsEdit = New System.Windows.Forms.GroupBox()
            Me.btnSelectValue = New System.Windows.Forms.Button()
            Me.btnSelectKey = New System.Windows.Forms.Button()
            Me.EmuSettsFolderBT = New System.Windows.Forms.Button()
            Me.EmuSettsFileBT = New System.Windows.Forms.Button()
            Me.AdditionalTab = New System.Windows.Forms.TabPage()
            Me.TableLayoutPanel3 = New System.Windows.Forms.TableLayoutPanel()
            Me.GroupBox8 = New System.Windows.Forms.GroupBox()
            Me.TableLayoutPanel10 = New System.Windows.Forms.TableLayoutPanel()
            Me.SupportDGV = New System.Windows.Forms.DataGridView()
            Me.DelSuppAppBT = New System.Windows.Forms.Button()
            Me.GroupBox13 = New System.Windows.Forms.GroupBox()
            Me.VirtDrivesDGV = New System.Windows.Forms.DataGridView()
            Me.ListsTab = New System.Windows.Forms.TabPage()
            Me.Panel4 = New System.Windows.Forms.Panel()
            Me.TableLayoutPanel1 = New System.Windows.Forms.TableLayoutPanel()
            Me.GroupBox2 = New System.Windows.Forms.GroupBox()
            Me.EmuListDGV = New System.Windows.Forms.DataGridView()
            Me.GroupBox3 = New System.Windows.Forms.GroupBox()
            Me.SysListDGV = New System.Windows.Forms.DataGridView()
            Me.GroupBox4 = New System.Windows.Forms.GroupBox()
            Me.UserEmusDGV = New System.Windows.Forms.DataGridView()
            Me.GroupBox5 = New System.Windows.Forms.GroupBox()
            Me.FileExtDGV = New System.Windows.Forms.DataGridView()
            Me.GroupBox21 = New System.Windows.Forms.GroupBox()
            Me.TableLayoutPanel9 = New System.Windows.Forms.TableLayoutPanel()
            Me.KeysDGV = New System.Windows.Forms.DataGridView()
            Me.GroupBox25 = New System.Windows.Forms.GroupBox()
            Me.PrevTBEraseBT = New System.Windows.Forms.Button()
            Me.Label38 = New System.Windows.Forms.Label()
            Me.PrevTB = New System.Windows.Forms.TextBox()
            Me.Camera = New System.Windows.Forms.TabPage()
            Me.GroupBox40 = New System.Windows.Forms.GroupBox()
            Me.Label73 = New System.Windows.Forms.Label()
            Me.CamGPHotkeyTB = New System.Windows.Forms.TextBox()
            Me.Label64 = New System.Windows.Forms.Label()
            Me.SnapPath = New System.Windows.Forms.TextBox()
            Me.SnapPathFBD_BT = New System.Windows.Forms.Button()
            Me.GroupBox39 = New System.Windows.Forms.GroupBox()
            Me.BurstNumber = New System.Windows.Forms.TextBox()
            Me.SnapProbability = New System.Windows.Forms.TextBox()
            Me.BurstWait = New System.Windows.Forms.TextBox()
            Me.SnapGap = New System.Windows.Forms.TextBox()
            Me.SnapMode = New System.Windows.Forms.ComboBox()
            Me.GroupBox38 = New System.Windows.Forms.GroupBox()
            Me.WCSelect = New System.Windows.Forms.ComboBox()
            Me.WCStart = New System.Windows.Forms.Button()
            Me.WCStop = New System.Windows.Forms.Button()
            Me.WCSnap = New System.Windows.Forms.Button()
            Me.ImageAdjustGB = New System.Windows.Forms.GroupBox()
            Me.ImgSaveBT = New System.Windows.Forms.Button()
            Me.SlidersResetBT = New System.Windows.Forms.Button()
            Me.Label57 = New System.Windows.Forms.Label()
            Me.Label56 = New System.Windows.Forms.Label()
            Me.CamSnap = New System.Windows.Forms.PictureBox()
            Me.WCPrev = New WebEye.Controls.WinForms.WebCameraControl.WebCameraControl()
            Me.GETweaks = New System.Windows.Forms.TabPage()
            Me.DialogPosCB = New System.Windows.Forms.ComboBox()
            Me.GroupBox12 = New System.Windows.Forms.GroupBox()
            Me.MsgScaler = New System.Windows.Forms.TextBox()
            Me.PaddingTB = New System.Windows.Forms.TextBox()
            Me.MsgBoxPrevPB = New System.Windows.Forms.PictureBox()
            Me.GETweaksAudioGB = New System.Windows.Forms.GroupBox()
            Me.RandomLaunchChB = New System.Windows.Forms.CheckBox()
            Me.RandomIntroBTChB = New System.Windows.Forms.CheckBox()
            Me.Label77 = New System.Windows.Forms.Label()
            Me.RandomLaunchTB = New System.Windows.Forms.TextBox()
            Me.RandomLaunchBT = New System.Windows.Forms.Button()
            Me.RandomINtroTB = New System.Windows.Forms.TextBox()
            Me.RandomIntroBT = New System.Windows.Forms.Button()
            Me.Label68 = New System.Windows.Forms.Label()
            Me.Button16 = New System.Windows.Forms.Button()
            Me.GESoundLaunch = New System.Windows.Forms.TextBox()
            Me.Button17 = New System.Windows.Forms.Button()
            Me.Button14 = New System.Windows.Forms.Button()
            Me.GESoundSelect = New System.Windows.Forms.TextBox()
            Me.Button15 = New System.Windows.Forms.Button()
            Me.Button12 = New System.Windows.Forms.Button()
            Me.GESoundFocus = New System.Windows.Forms.TextBox()
            Me.Button13 = New System.Windows.Forms.Button()
            Me.Button11 = New System.Windows.Forms.Button()
            Me.GESoundIntro = New System.Windows.Forms.TextBox()
            Me.Button10 = New System.Windows.Forms.Button()
            Me.SettingsTab = New System.Windows.Forms.TabPage()
            Me.Panel1 = New System.Windows.Forms.Panel()
            Me.GroupBox1 = New System.Windows.Forms.GroupBox()
            Me.Debug2Log = New System.Windows.Forms.CheckBox()
            Me.VerbLogCB = New System.Windows.Forms.CheckBox()
            Me.SysDetsCB = New System.Windows.Forms.CheckBox()
            Me.ShowDebugCB = New System.Windows.Forms.CheckBox()
            Me.GroupBox41 = New System.Windows.Forms.GroupBox()
            Me.Label92 = New System.Windows.Forms.Label()
            Me.CustmLoadStartup = New System.Windows.Forms.CheckBox()
            Me.Label91 = New System.Windows.Forms.Label()
            Me.Label86 = New System.Windows.Forms.Label()
            Me.Label85 = New System.Windows.Forms.Label()
            Me.Label84 = New System.Windows.Forms.Label()
            Me.Label83 = New System.Windows.Forms.Label()
            Me.Label82 = New System.Windows.Forms.Label()
            Me.Label81 = New System.Windows.Forms.Label()
            Me.Label80 = New System.Windows.Forms.Label()
            Me.Label79 = New System.Windows.Forms.Label()
            Me.Label78 = New System.Windows.Forms.Label()
            Me.Label76 = New System.Windows.Forms.Label()
            Me.Label75 = New System.Windows.Forms.Label()
            Me.GroupBox6 = New System.Windows.Forms.GroupBox()
            Me.UnECMChB = New System.Windows.Forms.CheckBox()
            Me.Label1 = New System.Windows.Forms.Label()
            Me.ZipExeTB = New System.Windows.Forms.TextBox()
            Me.Get7ZBT = New System.Windows.Forms.Button()
            Me.GEOPtsGB = New System.Windows.Forms.GroupBox()
            Me.Label74 = New System.Windows.Forms.Label()
            Me.EmuHKGPTB = New System.Windows.Forms.TextBox()
            Me.GroupBox11 = New System.Windows.Forms.GroupBox()
            Me.GroupBox30 = New System.Windows.Forms.GroupBox()
            Me.Label71 = New System.Windows.Forms.Label()
            Me.GPSelSetTB = New System.Windows.Forms.TextBox()
            Me.Label48 = New System.Windows.Forms.Label()
            Me.Label47 = New System.Windows.Forms.Label()
            Me.Label46 = New System.Windows.Forms.Label()
            Me.Label45 = New System.Windows.Forms.Label()
            Me.Label44 = New System.Windows.Forms.Label()
            Me.GroupBox31 = New System.Windows.Forms.GroupBox()
            Me.ShowTicker = New System.Windows.Forms.CheckBox()
            Me.MsgDefaultBT = New System.Windows.Forms.Button()
            Me.LogoPB2 = New System.Windows.Forms.PictureBox()
            Me.PromptEgTB = New System.Windows.Forms.TextBox()
            Me.PromptBGColBT = New System.Windows.Forms.Button()
            Me.PromptFGColBT = New System.Windows.Forms.Button()
            Me.VersionLB = New System.Windows.Forms.Label()
            Me.Speech = New System.Windows.Forms.TabPage()
            Me.AudioLevelTrB = New System.Windows.Forms.TrackBar()
            Me.Label96 = New System.Windows.Forms.Label()
            Me.AudioLevelTB = New System.Windows.Forms.TextBox()
            Me.srRTB = New System.Windows.Forms.RichTextBox()
            Me.Button23 = New System.Windows.Forms.Button()
            Me.Label95 = New System.Windows.Forms.Label()
            Me.InfoBox = New System.Windows.Forms.RichTextBox()
            Me.FD1 = New System.Windows.Forms.FontDialog()
            Me.NotifyIcon1 = New System.Windows.Forms.NotifyIcon(Me.components)
            Me.ContextMain = New System.Windows.Forms.ContextMenuStrip(Me.components)
            Me.TITLE = New System.Windows.Forms.ToolStripMenuItem()
            Me.CMSysLB = New System.Windows.Forms.ToolStripMenuItem()
            Me.CMEmuLB = New System.Windows.Forms.ToolStripMenuItem()
            Me.CMGameLB = New System.Windows.Forms.ToolStripMenuItem()
            Me.GameSpecSettsContext = New System.Windows.Forms.ToolStripMenuItem()
            Me.SaveEmuSettsTitle = New System.Windows.Forms.ToolStripMenuItem()
            Me.PerGameOnEmuToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.PerGameOnGameToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.SaveEmuSettsSelCB = New System.Windows.Forms.ToolStripComboBox()
            Me.ContextEmuSettsProfCB = New System.Windows.Forms.ToolStripComboBox()
            Me.LoadToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.SAVEToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.LaunchToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.ToolStripComboBox1 = New System.Windows.Forms.ToolStripComboBox()
            Me.ContextLeaveMountChB = New System.Windows.Forms.ToolStripMenuItem()
            Me.GameFullBootToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.GameSetupBootToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.EmulatorToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.FoldersToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.OpenQuickalunchToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.OpenROMFolderToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.GEmvoyToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.FadeToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.CloseToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.ShowGEmvoyToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.ResetWindowToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.CloseGEmvoyConfigToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
            Me.BTTimer = New System.Windows.Forms.Timer(Me.components)
            Me.ColorDialog1 = New System.Windows.Forms.ColorDialog()
            Me.BackgroundWorker1 = New System.ComponentModel.BackgroundWorker()
            Me.SFD1 = New System.Windows.Forms.SaveFileDialog()
            Me.GPTimer = New System.Windows.Forms.Timer(Me.components)
            Me.GemDSConfig = New GemDS()
            Me.SpeechTimer = New System.Windows.Forms.Timer(Me.components)
            GroupBox29 = New System.Windows.Forms.GroupBox()
            GroupBox26 = New System.Windows.Forms.GroupBox()
            GroupBox29.SuspendLayout()
            CType(Me.GamePGSettsDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            GroupBox26.SuspendLayout()
            CType(Me.EmuSettsProfsDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.TopPN.SuspendLayout()
            CType(Me.EmuSettsIndicatorPB, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBox5, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBox4, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox35.SuspendLayout()
            CType(Me.LogoPB, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox9.SuspendLayout()
            CType(Me.Sys_SAppsDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox19.SuspendLayout()
            CType(Me.SysDbInfoDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBox10, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.SnapGamma, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.SnapContrast, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.SnapBrightness, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.SnapRed, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.SnapGreen, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.SnapBlue, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.DialoguePrevPB, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox14.SuspendLayout()
            CType(Me.FormText, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBox6, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBox7, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBox8, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBox9, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.EmuSettsDL, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.DonateBT, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.FormBG, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.DatagridHeadersBG, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.DatagridBG, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.ReadOnlyBG, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.ButtonsBG, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.DropdownBG, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.TextboxBG, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.ReadOnlyText, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.DropdownText, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.FreeText, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.TopPanelBG, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.DatagridText, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.SysSettsGB.SuspendLayout()
            Me.TabsPN.SuspendLayout()
            Me.MainPanelSplit.Panel1.SuspendLayout()
            Me.MainPanelSplit.Panel2.SuspendLayout()
            Me.MainPanelSplit.SuspendLayout()
            Me.TabControl1.SuspendLayout()
            Me.SystemSetupsTab.SuspendLayout()
            Me.SysDGVSplit.Panel1.SuspendLayout()
            Me.SysDGVSplit.Panel2.SuspendLayout()
            Me.SysDGVSplit.SuspendLayout()
            Me.Panel3.SuspendLayout()
            Me.DEBUG.SuspendLayout()
            Me.GroupBox23.SuspendLayout()
            CType(Me.PictureBox11, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox7.SuspendLayout()
            Me.EmuSetupsTab.SuspendLayout()
            Me.SplitContainer1.Panel1.SuspendLayout()
            Me.SplitContainer1.Panel2.SuspendLayout()
            Me.SplitContainer1.SuspendLayout()
            Me.SplitContainer3.Panel1.SuspendLayout()
            Me.SplitContainer3.Panel2.SuspendLayout()
            Me.SplitContainer3.SuspendLayout()
            Me.GroupBox15.SuspendLayout()
            CType(Me.EmuSuppAppsDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox16.SuspendLayout()
            CType(Me.EmuKeyRemapDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.SplitContainer2.Panel1.SuspendLayout()
            Me.SplitContainer2.Panel2.SuspendLayout()
            Me.SplitContainer2.SuspendLayout()
            Me.SplitContainer4.Panel1.SuspendLayout()
            Me.SplitContainer4.Panel2.SuspendLayout()
            Me.SplitContainer4.SuspendLayout()
            Me.SysEmusGB.SuspendLayout()
            CType(Me.SysEmusDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox37.SuspendLayout()
            CType(Me.EmuConfigAppsDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.SplitContainer8.Panel1.SuspendLayout()
            Me.SplitContainer8.Panel2.SuspendLayout()
            Me.SplitContainer8.SuspendLayout()
            Me.GroupBox18.SuspendLayout()
            Me.TableLayoutPanel4.SuspendLayout()
            CType(Me.EmusFileExtDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.Panel2.SuspendLayout()
            Me.GroupBox43.SuspendLayout()
            Me.GroupBox28.SuspendLayout()
            CType(Me.PictureBox12, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox24.SuspendLayout()
            CType(Me.PictureBox14, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.EmuSetupGB.SuspendLayout()
            Me.EmuSettsScriptGB.SuspendLayout()
            Me.GroupBox27.SuspendLayout()
            Me.VirtDriveGB.SuspendLayout()
            Me.GameSetupsTab.SuspendLayout()
            Me.GamesRHS.Panel1.SuspendLayout()
            Me.GamesRHS.Panel2.SuspendLayout()
            Me.GamesRHS.SuspendLayout()
            Me.SplitTop.Panel1.SuspendLayout()
            Me.SplitTop.Panel2.SuspendLayout()
            Me.SplitTop.SuspendLayout()
            Me.GroupBox17.SuspendLayout()
            CType(Me.GameSuppAppsDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GamesKeyRemapGB.SuspendLayout()
            CType(Me.GameKeyRemapDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.SplitBottom.Panel1.SuspendLayout()
            Me.SplitBottom.Panel2.SuspendLayout()
            Me.SplitBottom.SuspendLayout()
            Me.GamesGB.SuspendLayout()
            Me.TableLayoutPanel11.SuspendLayout()
            CType(Me.GamesListDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.Panel7.SuspendLayout()
            Me.GroupBox42.SuspendLayout()
            CType(Me.PictureBox15, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox34.SuspendLayout()
            CType(Me.PictureBox13, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GamesEmuSettsGB.SuspendLayout()
            Me.GroupBox33.SuspendLayout()
            Me.GroupBox32.SuspendLayout()
            Me.GameProfileGB.SuspendLayout()
            Me.ForGameGB.SuspendLayout()
            Me.GroupBox20.SuspendLayout()
            Me.EmuSettsTab.SuspendLayout()
            Me.SplitContainer5.Panel1.SuspendLayout()
            Me.SplitContainer5.Panel2.SuspendLayout()
            Me.SplitContainer5.SuspendLayout()
            Me.TableLayoutPanel2.SuspendLayout()
            Me.GroupBox36.SuspendLayout()
            Me.GroupBox10.SuspendLayout()
            Me.SplitContainer6.Panel1.SuspendLayout()
            Me.SplitContainer6.Panel2.SuspendLayout()
            Me.SplitContainer6.SuspendLayout()
            Me.TableLayoutPanel5.SuspendLayout()
            Me.TableLayoutPanel6.SuspendLayout()
            CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.SplitContainer7.Panel1.SuspendLayout()
            Me.SplitContainer7.Panel2.SuspendLayout()
            Me.SplitContainer7.SuspendLayout()
            Me.TableLayoutPanel8.SuspendLayout()
            Me.GroupBox22.SuspendLayout()
            CType(Me.EmuSettsDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.TableLayoutPanel7.SuspendLayout()
            CType(Me.EmuSettsItemsDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.AlgSettsEdit.SuspendLayout()
            Me.AdditionalTab.SuspendLayout()
            Me.TableLayoutPanel3.SuspendLayout()
            Me.GroupBox8.SuspendLayout()
            Me.TableLayoutPanel10.SuspendLayout()
            CType(Me.SupportDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox13.SuspendLayout()
            CType(Me.VirtDrivesDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.ListsTab.SuspendLayout()
            Me.Panel4.SuspendLayout()
            Me.TableLayoutPanel1.SuspendLayout()
            Me.GroupBox2.SuspendLayout()
            CType(Me.EmuListDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox3.SuspendLayout()
            CType(Me.SysListDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox4.SuspendLayout()
            CType(Me.UserEmusDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox5.SuspendLayout()
            CType(Me.FileExtDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox21.SuspendLayout()
            Me.TableLayoutPanel9.SuspendLayout()
            CType(Me.KeysDGV, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox25.SuspendLayout()
            Me.Camera.SuspendLayout()
            Me.GroupBox40.SuspendLayout()
            Me.GroupBox39.SuspendLayout()
            Me.GroupBox38.SuspendLayout()
            Me.ImageAdjustGB.SuspendLayout()
            CType(Me.CamSnap, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GETweaks.SuspendLayout()
            Me.GroupBox12.SuspendLayout()
            CType(Me.MsgBoxPrevPB, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GETweaksAudioGB.SuspendLayout()
            Me.SettingsTab.SuspendLayout()
            Me.Panel1.SuspendLayout()
            Me.GroupBox1.SuspendLayout()
            Me.GroupBox41.SuspendLayout()
            Me.GroupBox6.SuspendLayout()
            Me.GEOPtsGB.SuspendLayout()
            Me.GroupBox11.SuspendLayout()
            Me.GroupBox30.SuspendLayout()
            Me.GroupBox31.SuspendLayout()
            CType(Me.LogoPB2, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.Speech.SuspendLayout()
            CType(Me.AudioLevelTrB, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.ContextMain.SuspendLayout()
            CType(Me.GemDSConfig, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.SuspendLayout()
            '
            'GroupBox29
            '
            GroupBox29.Controls.Add(Me.GamePGSettsDGV)
            GroupBox29.Dock = System.Windows.Forms.DockStyle.Fill
            GroupBox29.Location = New System.Drawing.Point(0, 0)
            GroupBox29.Name = "GroupBox29"
            GroupBox29.Size = New System.Drawing.Size(622, 92)
            GroupBox29.TabIndex = 1
            GroupBox29.TabStop = False
            GroupBox29.Text = "Per-Game Settings Profiles"
            '
            'GamePGSettsDGV
            '
            Me.GamePGSettsDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.GamePGSettsDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GamePGSettsDGV.EnableHeadersVisualStyles = False
            Me.GamePGSettsDGV.Location = New System.Drawing.Point(3, 16)
            Me.GamePGSettsDGV.Name = "GamePGSettsDGV"
            Me.GamePGSettsDGV.Size = New System.Drawing.Size(616, 73)
            Me.GamePGSettsDGV.TabIndex = 0
            '
            'GroupBox26
            '
            GroupBox26.Controls.Add(Me.EmuSettsProfsDGV)
            GroupBox26.Dock = System.Windows.Forms.DockStyle.Fill
            GroupBox26.Location = New System.Drawing.Point(0, 0)
            GroupBox26.Name = "GroupBox26"
            GroupBox26.Size = New System.Drawing.Size(298, 207)
            GroupBox26.TabIndex = 0
            GroupBox26.TabStop = False
            GroupBox26.Text = "Emulator Settings Profiles"
            '
            'EmuSettsProfsDGV
            '
            Me.EmuSettsProfsDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.EmuSettsProfsDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.EmuSettsProfsDGV.EnableHeadersVisualStyles = False
            Me.EmuSettsProfsDGV.Location = New System.Drawing.Point(3, 16)
            Me.EmuSettsProfsDGV.Name = "EmuSettsProfsDGV"
            Me.EmuSettsProfsDGV.Size = New System.Drawing.Size(292, 188)
            Me.EmuSettsProfsDGV.TabIndex = 0
            '
            'TopPN
            '
            Me.TopPN.BackColor = System.Drawing.SystemColors.ButtonFace
            Me.TopPN.Controls.Add(Me.SkipMount)
            Me.TopPN.Controls.Add(Me.CheckBox1)
            Me.TopPN.Controls.Add(Me.Button9)
            Me.TopPN.Controls.Add(Me.EmuFolderBT)
            Me.TopPN.Controls.Add(Me.DbBUBt)
            Me.TopPN.Controls.Add(Me.SaveAll)
            Me.TopPN.Controls.Add(Me.Button4)
            Me.TopPN.Controls.Add(Me.EmuSettsIndicatorPB)
            Me.TopPN.Controls.Add(Me.BootEmuBT)
            Me.TopPN.Controls.Add(Me.OpenRomsBT)
            Me.TopPN.Controls.Add(Me.FullBootBT)
            Me.TopPN.Controls.Add(Me.VDriveLetterTB)
            Me.TopPN.Controls.Add(Me.UnmountBT)
            Me.TopPN.Controls.Add(Me.GamesGo)
            Me.TopPN.Controls.Add(Me.Button1)
            Me.TopPN.Controls.Add(Me.OpenQL)
            Me.TopPN.Controls.Add(Me.RefreshMountBT)
            Me.TopPN.Controls.Add(Me.SetupBootBT)
            Me.TopPN.Controls.Add(Me.PictureBox5)
            Me.TopPN.Controls.Add(Me.PictureBox4)
            Me.TopPN.Controls.Add(Me.PictureBox3)
            Me.TopPN.Controls.Add(Me.PictureBox1)
            Me.TopPN.Controls.Add(Me.MountTB)
            Me.TopPN.Controls.Add(Me.LeaveImgChB)
            Me.TopPN.Controls.Add(Me.EmuHeaderTB)
            Me.TopPN.Controls.Add(Me.GroupBox35)
            Me.TopPN.Controls.Add(Me.ToggleTokens)
            Me.TopPN.Controls.Add(Me.LogoPB)
            Me.TopPN.Controls.Add(Me.SysSetupSelCB)
            Me.TopPN.Controls.Add(Me.GameSelCB)
            Me.TopPN.Dock = System.Windows.Forms.DockStyle.Top
            Me.TopPN.Location = New System.Drawing.Point(0, 0)
            Me.TopPN.Name = "TopPN"
            Me.TopPN.Size = New System.Drawing.Size(1143, 56)
            Me.TopPN.TabIndex = 0
            '
            'SkipMount
            '
            Me.SkipMount.AutoSize = True
            Me.SkipMount.Location = New System.Drawing.Point(770, 8)
            Me.SkipMount.Name = "SkipMount"
            Me.SkipMount.Size = New System.Drawing.Size(15, 14)
            Me.SkipMount.TabIndex = 73
            Me.TTGeneral.SetToolTip(Me.SkipMount, "Skips any Unzip/Mount/Boot" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "actions. Used mainly to construct" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "tokens and boot su" & _
            "pport apps.")
            Me.SkipMount.UseVisualStyleBackColor = True
            '
            'CheckBox1
            '
            Me.CheckBox1.AutoSize = True
            Me.CheckBox1.Location = New System.Drawing.Point(338, 8)
            Me.CheckBox1.Name = "CheckBox1"
            Me.CheckBox1.Size = New System.Drawing.Size(15, 14)
            Me.CheckBox1.TabIndex = 72
            Me.TTGeneral.SetToolTip(Me.CheckBox1, "Auto switch to Games Tab" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "on System change.")
            Me.CheckBox1.UseVisualStyleBackColor = True
            '
            'Button9
            '
            Me.Button9.BackgroundImage = Global.My.Resources.Resources.webcam_512
            Me.Button9.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.Button9.Location = New System.Drawing.Point(936, 29)
            Me.Button9.Name = "Button9"
            Me.Button9.Size = New System.Drawing.Size(36, 24)
            Me.Button9.TabIndex = 71
            Me.TTGeneral.SetToolTip(Me.Button9, "Open Cam Snaps folder." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            Me.Button9.UseVisualStyleBackColor = True
            '
            'EmuFolderBT
            '
            Me.EmuFolderBT.BackgroundImage = Global.My.Resources.Resources.TransFolder2
            Me.EmuFolderBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.EmuFolderBT.Location = New System.Drawing.Point(828, 29)
            Me.EmuFolderBT.Name = "EmuFolderBT"
            Me.EmuFolderBT.Size = New System.Drawing.Size(36, 24)
            Me.EmuFolderBT.TabIndex = 70
            Me.TTGeneral.SetToolTip(Me.EmuFolderBT, "Open Emulator folder.")
            Me.EmuFolderBT.UseVisualStyleBackColor = True
            '
            'DbBUBt
            '
            Me.DbBUBt.BackColor = System.Drawing.Color.Transparent
            Me.DbBUBt.BackgroundImage = Global.My.Resources.Resources.bobbin_512
            Me.DbBUBt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.DbBUBt.Location = New System.Drawing.Point(900, 5)
            Me.DbBUBt.Name = "DbBUBt"
            Me.DbBUBt.Size = New System.Drawing.Size(36, 24)
            Me.DbBUBt.TabIndex = 69
            Me.TTGeneral.SetToolTip(Me.DbBUBt, "Backup Database")
            Me.DbBUBt.UseVisualStyleBackColor = False
            '
            'SaveAll
            '
            Me.SaveAll.BackColor = System.Drawing.Color.Transparent
            Me.SaveAll.BackgroundImage = Global.My.Resources.Resources.save_icon
            Me.SaveAll.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.SaveAll.Location = New System.Drawing.Point(864, 29)
            Me.SaveAll.Name = "SaveAll"
            Me.SaveAll.Size = New System.Drawing.Size(36, 24)
            Me.SaveAll.TabIndex = 57
            Me.TTGeneral.SetToolTip(Me.SaveAll, "Save All")
            Me.SaveAll.UseVisualStyleBackColor = False
            '
            'Button4
            '
            Me.Button4.BackgroundImage = Global.My.Resources.Resources.menu
            Me.Button4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.Button4.Location = New System.Drawing.Point(864, 5)
            Me.Button4.Name = "Button4"
            Me.Button4.Size = New System.Drawing.Size(36, 24)
            Me.Button4.TabIndex = 21
            Me.TTGeneral.SetToolTip(Me.Button4, "Show/hide context menu")
            Me.Button4.UseVisualStyleBackColor = True
            '
            'EmuSettsIndicatorPB
            '
            Me.EmuSettsIndicatorPB.BackColor = System.Drawing.Color.LightGreen
            Me.EmuSettsIndicatorPB.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.EmuSettsIndicatorPB.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
            Me.EmuSettsIndicatorPB.Image = Global.My.Resources.Resources.emu
            Me.EmuSettsIndicatorPB.Location = New System.Drawing.Point(610, 5)
            Me.EmuSettsIndicatorPB.Name = "EmuSettsIndicatorPB"
            Me.EmuSettsIndicatorPB.Padding = New System.Windows.Forms.Padding(2)
            Me.EmuSettsIndicatorPB.Size = New System.Drawing.Size(21, 21)
            Me.EmuSettsIndicatorPB.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
            Me.EmuSettsIndicatorPB.TabIndex = 68
            Me.EmuSettsIndicatorPB.TabStop = False
            Me.TTGeneral.SetToolTip(Me.EmuSettsIndicatorPB, "Emulator Settings Indicator:" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "- Emulator Symbol means" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "uses Emulator Default." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "- " & _
            "Game Symbol means" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "uses per-game settings." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            '
            'BootEmuBT
            '
            Me.BootEmuBT.BackgroundImage = Global.My.Resources.Resources.emu
            Me.BootEmuBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.BootEmuBT.Location = New System.Drawing.Point(828, 5)
            Me.BootEmuBT.Name = "BootEmuBT"
            Me.BootEmuBT.Size = New System.Drawing.Size(36, 24)
            Me.BootEmuBT.TabIndex = 67
            Me.TTGeneral.SetToolTip(Me.BootEmuBT, "Launch selected Emulator")
            Me.BootEmuBT.UseVisualStyleBackColor = True
            '
            'OpenRomsBT
            '
            Me.OpenRomsBT.BackgroundImage = Global.My.Resources.Resources.microchip_req
            Me.OpenRomsBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.OpenRomsBT.Location = New System.Drawing.Point(792, 29)
            Me.OpenRomsBT.Name = "OpenRomsBT"
            Me.OpenRomsBT.Size = New System.Drawing.Size(36, 24)
            Me.OpenRomsBT.TabIndex = 66
            Me.TTGeneral.SetToolTip(Me.OpenRomsBT, "Open ROMS Folder" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            Me.OpenRomsBT.UseVisualStyleBackColor = True
            '
            'FullBootBT
            '
            Me.FullBootBT.BackgroundImage = Global.My.Resources.Resources.clapper
            Me.FullBootBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.FullBootBT.Location = New System.Drawing.Point(716, 5)
            Me.FullBootBT.Name = "FullBootBT"
            Me.FullBootBT.Size = New System.Drawing.Size(48, 24)
            Me.FullBootBT.TabIndex = 65
            Me.TTGeneral.SetToolTip(Me.FullBootBT, "Full Boot Game")
            Me.FullBootBT.UseVisualStyleBackColor = True
            '
            'VDriveLetterTB
            '
            Me.VDriveLetterTB.Enabled = False
            Me.VDriveLetterTB.Location = New System.Drawing.Point(413, 31)
            Me.VDriveLetterTB.Name = "VDriveLetterTB"
            Me.VDriveLetterTB.ReadOnly = True
            Me.VDriveLetterTB.Size = New System.Drawing.Size(20, 20)
            Me.VDriveLetterTB.TabIndex = 64
            '
            'UnmountBT
            '
            Me.UnmountBT.BackgroundImage = Global.My.Resources.Resources.eject
            Me.UnmountBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.UnmountBT.Location = New System.Drawing.Point(610, 31)
            Me.UnmountBT.Name = "UnmountBT"
            Me.UnmountBT.Size = New System.Drawing.Size(21, 21)
            Me.UnmountBT.TabIndex = 63
            Me.TTGeneral.SetToolTip(Me.UnmountBT, "Unmount Image")
            Me.UnmountBT.UseVisualStyleBackColor = True
            '
            'GamesGo
            '
            Me.GamesGo.BackgroundImage = Global.My.Resources.Resources.refresh
            Me.GamesGo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.GamesGo.Location = New System.Drawing.Point(338, 31)
            Me.GamesGo.Name = "GamesGo"
            Me.GamesGo.Size = New System.Drawing.Size(21, 21)
            Me.GamesGo.TabIndex = 1
            Me.TTGeneral.SetToolTip(Me.GamesGo, "Refresh Game")
            Me.GamesGo.UseVisualStyleBackColor = True
            '
            'Button1
            '
            Me.Button1.BackColor = System.Drawing.Color.Transparent
            Me.Button1.BackgroundImage = Global.My.Resources.Resources.xml_512
            Me.Button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.Button1.Location = New System.Drawing.Point(900, 29)
            Me.Button1.Name = "Button1"
            Me.Button1.Size = New System.Drawing.Size(36, 24)
            Me.Button1.TabIndex = 0
            Me.TTGeneral.SetToolTip(Me.Button1, "Manually save any Database changes")
            Me.Button1.UseVisualStyleBackColor = False
            '
            'OpenQL
            '
            Me.OpenQL.BackgroundImage = Global.My.Resources.Resources.folder2
            Me.OpenQL.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.OpenQL.Location = New System.Drawing.Point(792, 5)
            Me.OpenQL.Name = "OpenQL"
            Me.OpenQL.Size = New System.Drawing.Size(36, 24)
            Me.OpenQL.TabIndex = 62
            Me.TTGeneral.SetToolTip(Me.OpenQL, "Open Quicklaunch Folder")
            Me.OpenQL.UseVisualStyleBackColor = True
            '
            'RefreshMountBT
            '
            Me.RefreshMountBT.BackgroundImage = Global.My.Resources.Resources.refresh
            Me.RefreshMountBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.RefreshMountBT.Location = New System.Drawing.Point(586, 31)
            Me.RefreshMountBT.Name = "RefreshMountBT"
            Me.RefreshMountBT.Size = New System.Drawing.Size(21, 21)
            Me.RefreshMountBT.TabIndex = 56
            Me.TTGeneral.SetToolTip(Me.RefreshMountBT, "Recheck Virtual Drive" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "specified in current " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Emulator setup.")
            Me.RefreshMountBT.UseVisualStyleBackColor = True
            '
            'SetupBootBT
            '
            Me.SetupBootBT.BackgroundImage = Global.My.Resources.Resources.cog
            Me.SetupBootBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.SetupBootBT.Location = New System.Drawing.Point(716, 29)
            Me.SetupBootBT.Name = "SetupBootBT"
            Me.SetupBootBT.Size = New System.Drawing.Size(48, 24)
            Me.SetupBootBT.TabIndex = 61
            Me.TTGeneral.SetToolTip(Me.SetupBootBT, "Setup Boot Game.")
            Me.SetupBootBT.UseVisualStyleBackColor = True
            '
            'PictureBox5
            '
            Me.PictureBox5.BackgroundImage = Global.My.Resources.Resources.disc
            Me.PictureBox5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.PictureBox5.Location = New System.Drawing.Point(366, 29)
            Me.PictureBox5.Name = "PictureBox5"
            Me.PictureBox5.Size = New System.Drawing.Size(24, 24)
            Me.PictureBox5.TabIndex = 60
            Me.PictureBox5.TabStop = False
            Me.PictureBox5.Tag = "Highlight"
            Me.TTGeneral.SetToolTip(Me.PictureBox5, "Mounted Disc")
            '
            'PictureBox4
            '
            Me.PictureBox4.BackgroundImage = Global.My.Resources.Resources.system
            Me.PictureBox4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox4.Location = New System.Drawing.Point(59, 3)
            Me.PictureBox4.Name = "PictureBox4"
            Me.PictureBox4.Size = New System.Drawing.Size(24, 24)
            Me.PictureBox4.TabIndex = 59
            Me.PictureBox4.TabStop = False
            Me.PictureBox4.Tag = "Highlight"
            Me.TTGeneral.SetToolTip(Me.PictureBox4, "System")
            '
            'PictureBox3
            '
            Me.PictureBox3.BackgroundImage = Global.My.Resources.Resources.pac
            Me.PictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox3.Location = New System.Drawing.Point(59, 29)
            Me.PictureBox3.Name = "PictureBox3"
            Me.PictureBox3.Size = New System.Drawing.Size(24, 24)
            Me.PictureBox3.TabIndex = 58
            Me.PictureBox3.TabStop = False
            Me.PictureBox3.Tag = "Highlight"
            Me.TTGeneral.SetToolTip(Me.PictureBox3, "Game")
            '
            'PictureBox1
            '
            Me.PictureBox1.BackgroundImage = Global.My.Resources.Resources.emu
            Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.PictureBox1.Location = New System.Drawing.Point(366, 3)
            Me.PictureBox1.Name = "PictureBox1"
            Me.PictureBox1.Size = New System.Drawing.Size(24, 24)
            Me.PictureBox1.TabIndex = 57
            Me.PictureBox1.TabStop = False
            Me.PictureBox1.Tag = "Highlight"
            Me.TTGeneral.SetToolTip(Me.PictureBox1, "Emulator")
            '
            'MountTB
            '
            Me.MountTB.Enabled = False
            Me.MountTB.Location = New System.Drawing.Point(439, 31)
            Me.MountTB.Name = "MountTB"
            Me.MountTB.Size = New System.Drawing.Size(141, 20)
            Me.MountTB.TabIndex = 54
            '
            'LeaveImgChB
            '
            Me.LeaveImgChB.AutoSize = True
            Me.LeaveImgChB.Location = New System.Drawing.Point(397, 34)
            Me.LeaveImgChB.Name = "LeaveImgChB"
            Me.LeaveImgChB.Size = New System.Drawing.Size(15, 14)
            Me.LeaveImgChB.TabIndex = 49
            Me.TTGeneral.SetToolTip(Me.LeaveImgChB, "If checked, leaves image mounted" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "after game run. Enables you to boot" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "emulator s" & _
            "eparately to assist with" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "emulator setups.")
            Me.LeaveImgChB.UseVisualStyleBackColor = True
            '
            'EmuHeaderTB
            '
            Me.EmuHeaderTB.Location = New System.Drawing.Point(396, 5)
            Me.EmuHeaderTB.Name = "EmuHeaderTB"
            Me.EmuHeaderTB.ReadOnly = True
            Me.EmuHeaderTB.Size = New System.Drawing.Size(211, 20)
            Me.EmuHeaderTB.TabIndex = 43
            Me.EmuHeaderTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            '
            'GroupBox35
            '
            Me.GroupBox35.Controls.Add(Me.BootSelectedRB)
            Me.GroupBox35.Controls.Add(Me.BootDefaultRB)
            Me.GroupBox35.Location = New System.Drawing.Point(640, 0)
            Me.GroupBox35.Name = "GroupBox35"
            Me.GroupBox35.Size = New System.Drawing.Size(72, 53)
            Me.GroupBox35.TabIndex = 52
            Me.GroupBox35.TabStop = False
            Me.GroupBox35.Text = "Boot:"
            Me.TTGeneral.SetToolTip(Me.GroupBox35, "Choose how to boot game." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Default - will boot the game profile" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "with ""Default Pro" & _
            "file"" chekced. " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Selected: will boot the profile" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "selected in Game Profiles.")
            '
            'BootSelectedRB
            '
            Me.BootSelectedRB.AutoSize = True
            Me.BootSelectedRB.Location = New System.Drawing.Point(3, 31)
            Me.BootSelectedRB.Name = "BootSelectedRB"
            Me.BootSelectedRB.Size = New System.Drawing.Size(67, 17)
            Me.BootSelectedRB.TabIndex = 1
            Me.BootSelectedRB.TabStop = True
            Me.BootSelectedRB.Text = "Selected"
            Me.TTGeneral.SetToolTip(Me.BootSelectedRB, "Boot Game Profile selected" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "in GEmvoy.")
            Me.BootSelectedRB.UseVisualStyleBackColor = True
            '
            'BootDefaultRB
            '
            Me.BootDefaultRB.AutoSize = True
            Me.BootDefaultRB.Location = New System.Drawing.Point(3, 14)
            Me.BootDefaultRB.Name = "BootDefaultRB"
            Me.BootDefaultRB.Size = New System.Drawing.Size(59, 17)
            Me.BootDefaultRB.TabIndex = 0
            Me.BootDefaultRB.TabStop = True
            Me.BootDefaultRB.Text = "Default"
            Me.TTGeneral.SetToolTip(Me.BootDefaultRB, "Boot default Game Profile for" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "this ROM.")
            Me.BootDefaultRB.UseVisualStyleBackColor = True
            '
            'ToggleTokens
            '
            Me.ToggleTokens.BackgroundImage = Global.My.Resources.Resources.key
            Me.ToggleTokens.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.ToggleTokens.Location = New System.Drawing.Point(936, 5)
            Me.ToggleTokens.Name = "ToggleTokens"
            Me.ToggleTokens.Size = New System.Drawing.Size(36, 24)
            Me.ToggleTokens.TabIndex = 2
            Me.TTGeneral.SetToolTip(Me.ToggleTokens, "Show command line Tokens." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            Me.ToggleTokens.UseVisualStyleBackColor = True
            '
            'LogoPB
            '
            Me.LogoPB.BackColor = System.Drawing.Color.Transparent
            Me.LogoPB.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.LogoPB.Image = Global.My.Resources.Resources.FootLogo
            Me.LogoPB.Location = New System.Drawing.Point(2, 2)
            Me.LogoPB.Name = "LogoPB"
            Me.LogoPB.Padding = New System.Windows.Forms.Padding(2)
            Me.LogoPB.Size = New System.Drawing.Size(51, 51)
            Me.LogoPB.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
            Me.LogoPB.TabIndex = 26
            Me.LogoPB.TabStop = False
            '
            'SysSetupSelCB
            '
            Me.SysSetupSelCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.SysSetupSelCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.SysSetupSelCB.FormattingEnabled = True
            Me.SysSetupSelCB.Location = New System.Drawing.Point(89, 5)
            Me.SysSetupSelCB.Name = "SysSetupSelCB"
            Me.SysSetupSelCB.Size = New System.Drawing.Size(244, 21)
            Me.SysSetupSelCB.TabIndex = 0
            '
            'GameSelCB
            '
            Me.GameSelCB.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest
            Me.GameSelCB.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems
            Me.GameSelCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.GameSelCB.FormattingEnabled = True
            Me.GameSelCB.Location = New System.Drawing.Point(89, 31)
            Me.GameSelCB.Name = "GameSelCB"
            Me.GameSelCB.Size = New System.Drawing.Size(244, 21)
            Me.GameSelCB.TabIndex = 0
            '
            'TextBox1
            '
            Me.TextBox1.Location = New System.Drawing.Point(81, 71)
            Me.TextBox1.Name = "TextBox1"
            Me.TextBox1.Size = New System.Drawing.Size(46, 20)
            Me.TextBox1.TabIndex = 49
            '
            'DDTest
            '
            Me.DDTest.Location = New System.Drawing.Point(13, 71)
            Me.DDTest.Name = "DDTest"
            Me.DDTest.Size = New System.Drawing.Size(60, 20)
            Me.DDTest.TabIndex = 50
            '
            'GamesRomFolderTB
            '
            Me.GamesRomFolderTB.Location = New System.Drawing.Point(13, 45)
            Me.GamesRomFolderTB.Name = "GamesRomFolderTB"
            Me.GamesRomFolderTB.Size = New System.Drawing.Size(213, 20)
            Me.GamesRomFolderTB.TabIndex = 47
            '
            'GameSysSetupCB
            '
            Me.GameSysSetupCB.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
            Me.GameSysSetupCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.GameSysSetupCB.Enabled = False
            Me.GameSysSetupCB.FormattingEnabled = True
            Me.GameSysSetupCB.ItemHeight = 13
            Me.GameSysSetupCB.Location = New System.Drawing.Point(13, 20)
            Me.GameSysSetupCB.Name = "GameSysSetupCB"
            Me.GameSysSetupCB.Size = New System.Drawing.Size(213, 21)
            Me.GameSysSetupCB.TabIndex = 10
            '
            'TESTBT
            '
            Me.TESTBT.Location = New System.Drawing.Point(314, 69)
            Me.TESTBT.Name = "TESTBT"
            Me.TESTBT.Size = New System.Drawing.Size(60, 23)
            Me.TESTBT.TabIndex = 1
            Me.TESTBT.Text = "TEST"
            Me.TESTBT.UseVisualStyleBackColor = True
            '
            'EmuSelCB
            '
            Me.EmuSelCB.BackColor = System.Drawing.SystemColors.Control
            Me.EmuSelCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.EmuSelCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.EmuSelCB.FormattingEnabled = True
            Me.EmuSelCB.Location = New System.Drawing.Point(94, 14)
            Me.EmuSelCB.Name = "EmuSelCB"
            Me.EmuSelCB.Size = New System.Drawing.Size(400, 21)
            Me.EmuSelCB.TabIndex = 39
            '
            'TTGeneral
            '
            Me.TTGeneral.AutoPopDelay = 10000
            Me.TTGeneral.InitialDelay = 500
            Me.TTGeneral.ReshowDelay = 100
            '
            'Def4gameChB
            '
            Me.Def4gameChB.AutoSize = True
            Me.Def4gameChB.Location = New System.Drawing.Point(96, 206)
            Me.Def4gameChB.Name = "Def4gameChB"
            Me.Def4gameChB.Size = New System.Drawing.Size(138, 17)
            Me.Def4gameChB.TabIndex = 47
            Me.Def4gameChB.Text = "Default Profile for Game"
            Me.TTGeneral.SetToolTip(Me.Def4gameChB, "Where you have more than one" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "profile for the Game/System" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "setup (e.g. same game " & _
            "via different " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "emulators) - this will set this" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "profile as the default launched" & _
            " by" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "GameEx.")
            Me.Def4gameChB.UseVisualStyleBackColor = True
            '
            'FocusBoxTB
            '
            Me.FocusBoxTB.Location = New System.Drawing.Point(133, 71)
            Me.FocusBoxTB.Name = "FocusBoxTB"
            Me.FocusBoxTB.Size = New System.Drawing.Size(32, 20)
            Me.FocusBoxTB.TabIndex = 67
            Me.TTGeneral.SetToolTip(Me.FocusBoxTB, "Focusbox (hidden)")
            '
            'Button7
            '
            Me.Button7.Anchor = System.Windows.Forms.AnchorStyles.Left
            Me.Button7.Location = New System.Drawing.Point(87, 3)
            Me.Button7.Name = "Button7"
            Me.Button7.Size = New System.Drawing.Size(54, 21)
            Me.Button7.TabIndex = 2
            Me.Button7.Text = "Go"
            Me.TTGeneral.SetToolTip(Me.Button7, "Change to selected Game." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            Me.Button7.UseVisualStyleBackColor = True
            '
            'Label53
            '
            Me.Label53.AutoSize = True
            Me.Label53.Location = New System.Drawing.Point(5, 149)
            Me.Label53.Name = "Label53"
            Me.Label53.Size = New System.Drawing.Size(54, 13)
            Me.Label53.TabIndex = 49
            Me.Label53.Text = "Custom 2:"
            Me.TTGeneral.SetToolTip(Me.Label53, "Custom text for this game - useful" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "for using with the cmd line tokens" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "system - " & _
            "for example having SCUS" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "numbers on PS2 games + using" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "with PS2Lunch.")
            '
            'Label22
            '
            Me.Label22.AutoSize = True
            Me.Label22.Location = New System.Drawing.Point(5, 175)
            Me.Label22.Name = "Label22"
            Me.Label22.Size = New System.Drawing.Size(56, 13)
            Me.Label22.TabIndex = 29
            Me.Label22.Text = "GE Name:"
            Me.TTGeneral.SetToolTip(Me.Label22, "Grabbed from GameEx database" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "if available when game launched" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "via GameEx." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            '
            'GameQLaunchPrompt
            '
            Me.GameQLaunchPrompt.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
            Me.GameQLaunchPrompt.BackColor = System.Drawing.SystemColors.Control
            Me.GameQLaunchPrompt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.GameQLaunchPrompt.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.GameQLaunchPrompt.FormattingEnabled = True
            Me.GameQLaunchPrompt.ItemHeight = 13
            Me.GameQLaunchPrompt.Location = New System.Drawing.Point(82, 19)
            Me.GameQLaunchPrompt.Name = "GameQLaunchPrompt"
            Me.GameQLaunchPrompt.Size = New System.Drawing.Size(168, 21)
            Me.GameQLaunchPrompt.TabIndex = 21
            Me.TTGeneral.SetToolTip(Me.GameQLaunchPrompt, "Change Quicklaunch action " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "for this game.")
            '
            'Label27
            '
            Me.Label27.AutoSize = True
            Me.Label27.Location = New System.Drawing.Point(5, 123)
            Me.Label27.Name = "Label27"
            Me.Label27.Size = New System.Drawing.Size(54, 13)
            Me.Label27.TabIndex = 9
            Me.Label27.Text = "Custom 1:"
            Me.TTGeneral.SetToolTip(Me.Label27, "Custom text for this game - useful" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "for using with the cmd line tokens" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "system - " & _
            "for example having SCUS" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "numbers on PS2 games + using" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "with PS2Lunch.")
            '
            'Label3
            '
            Me.Label3.AutoSize = True
            Me.Label3.Location = New System.Drawing.Point(5, 97)
            Me.Label3.Name = "Label3"
            Me.Label3.Size = New System.Drawing.Size(85, 13)
            Me.Label3.TabIndex = 31
            Me.Label3.Text = "Game Cmd Line:"
            Me.TTGeneral.SetToolTip(Me.Label3, "If anything here - will override" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "the cmd line constucted from the " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "emulator cmd" & _
            " line field. Leave blank" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "to use emulator default.")
            '
            'Label26
            '
            Me.Label26.AutoSize = True
            Me.Label26.Location = New System.Drawing.Point(5, 71)
            Me.Label26.Name = "Label26"
            Me.Label26.Size = New System.Drawing.Size(54, 13)
            Me.Label26.TabIndex = 13
            Me.Label26.Text = "ROM File:"
            Me.TTGeneral.SetToolTip(Me.Label26, "The ROM file to use for this" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "game profile.")
            '
            'Label28
            '
            Me.Label28.AutoSize = True
            Me.Label28.Location = New System.Drawing.Point(5, 44)
            Me.Label28.Name = "Label28"
            Me.Label28.Size = New System.Drawing.Size(73, 13)
            Me.Label28.TabIndex = 11
            Me.Label28.Text = "Use Emulator:"
            Me.TTGeneral.SetToolTip(Me.Label28, "Use this Emulator in this game profile.")
            '
            'Label29
            '
            Me.Label29.AutoSize = True
            Me.Label29.Location = New System.Drawing.Point(5, 18)
            Me.Label29.Name = "Label29"
            Me.Label29.Size = New System.Drawing.Size(71, 13)
            Me.Label29.TabIndex = 7
            Me.Label29.Text = "Edited Name:"
            Me.TTGeneral.SetToolTip(Me.Label29, "Choose or autogenerate a game" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "name from the rom. ")
            '
            'GroupBox9
            '
            Me.GroupBox9.Controls.Add(Me.Sys_SAppsDGV)
            Me.GroupBox9.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox9.Location = New System.Drawing.Point(0, 0)
            Me.GroupBox9.Name = "GroupBox9"
            Me.GroupBox9.Size = New System.Drawing.Size(618, 330)
            Me.GroupBox9.TabIndex = 5
            Me.GroupBox9.TabStop = False
            Me.GroupBox9.Text = "System Support Apps"
            Me.TTGeneral.SetToolTip(Me.GroupBox9, "Support Apps to launch when " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "System Setup used. " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            '
            'Sys_SAppsDGV
            '
            Me.Sys_SAppsDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.Sys_SAppsDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.Sys_SAppsDGV.EnableHeadersVisualStyles = False
            Me.Sys_SAppsDGV.Location = New System.Drawing.Point(3, 16)
            Me.Sys_SAppsDGV.Name = "Sys_SAppsDGV"
            Me.Sys_SAppsDGV.ShowCellErrors = False
            Me.Sys_SAppsDGV.Size = New System.Drawing.Size(612, 311)
            Me.Sys_SAppsDGV.TabIndex = 0
            '
            'GroupBox19
            '
            Me.GroupBox19.Controls.Add(Me.SysDbInfoDGV)
            Me.GroupBox19.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox19.Location = New System.Drawing.Point(0, 0)
            Me.GroupBox19.Name = "GroupBox19"
            Me.GroupBox19.Size = New System.Drawing.Size(618, 361)
            Me.GroupBox19.TabIndex = 0
            Me.GroupBox19.TabStop = False
            Me.GroupBox19.Text = "System Setups"
            Me.TTGeneral.SetToolTip(Me.GroupBox19, "Overview of different " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "system setups." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            '
            'SysDbInfoDGV
            '
            Me.SysDbInfoDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.SysDbInfoDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SysDbInfoDGV.EnableHeadersVisualStyles = False
            Me.SysDbInfoDGV.Location = New System.Drawing.Point(3, 16)
            Me.SysDbInfoDGV.Name = "SysDbInfoDGV"
            Me.SysDbInfoDGV.ReadOnly = True
            Me.SysDbInfoDGV.RowHeadersVisible = False
            Me.SysDbInfoDGV.Size = New System.Drawing.Size(612, 342)
            Me.SysDbInfoDGV.TabIndex = 0
            '
            'SysNewBT
            '
            Me.SysNewBT.Enabled = False
            Me.SysNewBT.Location = New System.Drawing.Point(209, 15)
            Me.SysNewBT.Name = "SysNewBT"
            Me.SysNewBT.Size = New System.Drawing.Size(75, 23)
            Me.SysNewBT.TabIndex = 7
            Me.SysNewBT.Text = "Save New"
            Me.TTGeneral.SetToolTip(Me.SysNewBT, "Create a new System Setup.")
            Me.SysNewBT.UseVisualStyleBackColor = True
            Me.SysNewBT.Visible = False
            '
            'SysDeleteBT
            '
            Me.SysDeleteBT.Location = New System.Drawing.Point(374, 13)
            Me.SysDeleteBT.Name = "SysDeleteBT"
            Me.SysDeleteBT.Size = New System.Drawing.Size(58, 23)
            Me.SysDeleteBT.TabIndex = 8
            Me.SysDeleteBT.Text = "Delete"
            Me.TTGeneral.SetToolTip(Me.SysDeleteBT, "Delete this system." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "If disabled you can change " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "in Settings.")
            Me.SysDeleteBT.UseVisualStyleBackColor = True
            '
            'SysClearBT
            '
            Me.SysClearBT.Enabled = False
            Me.SysClearBT.Location = New System.Drawing.Point(290, 15)
            Me.SysClearBT.Name = "SysClearBT"
            Me.SysClearBT.Size = New System.Drawing.Size(52, 23)
            Me.SysClearBT.TabIndex = 7
            Me.SysClearBT.Text = "Clear"
            Me.TTGeneral.SetToolTip(Me.SysClearBT, "Clear System for new System.")
            Me.SysClearBT.UseVisualStyleBackColor = True
            Me.SysClearBT.Visible = False
            '
            'SysSaveBT
            '
            Me.SysSaveBT.Location = New System.Drawing.Point(438, 13)
            Me.SysSaveBT.Name = "SysSaveBT"
            Me.SysSaveBT.Size = New System.Drawing.Size(54, 23)
            Me.SysSaveBT.TabIndex = 1
            Me.SysSaveBT.Text = "SAVE"
            Me.TTGeneral.SetToolTip(Me.SysSaveBT, "Save any changes to System Setup.")
            Me.SysSaveBT.UseVisualStyleBackColor = True
            '
            'MakeQLDirBT
            '
            Me.MakeQLDirBT.Location = New System.Drawing.Point(436, 149)
            Me.MakeQLDirBT.Name = "MakeQLDirBT"
            Me.MakeQLDirBT.Size = New System.Drawing.Size(58, 22)
            Me.MakeQLDirBT.TabIndex = 46
            Me.MakeQLDirBT.Text = "Auto"
            Me.TTGeneral.SetToolTip(Me.MakeQLDirBT, "Make a Quicklaunch Folder" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "for this system. Places it under" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "the root directory s" & _
            "pecified in " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "settings.")
            Me.MakeQLDirBT.UseVisualStyleBackColor = True
            '
            'Label52
            '
            Me.Label52.AutoSize = True
            Me.Label52.Location = New System.Drawing.Point(6, 43)
            Me.Label52.Name = "Label52"
            Me.Label52.Size = New System.Drawing.Size(74, 13)
            Me.Label52.TabIndex = 44
            Me.Label52.Text = "GEx Emulator:"
            Me.TTGeneral.SetToolTip(Me.Label52, "The name of the GameEx emulator")
            '
            'UseQLaunchChB
            '
            Me.UseQLaunchChB.AutoSize = True
            Me.UseQLaunchChB.Location = New System.Drawing.Point(97, 203)
            Me.UseQLaunchChB.Name = "UseQLaunchChB"
            Me.UseQLaunchChB.Size = New System.Drawing.Size(108, 17)
            Me.UseQLaunchChB.TabIndex = 22
            Me.UseQLaunchChB.Text = "Use Quicklaunch"
            Me.TTGeneral.SetToolTip(Me.UseQLaunchChB, "Use QUicklaunch facility." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "See docs or controls above. " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            Me.UseQLaunchChB.UseVisualStyleBackColor = True
            '
            'QLaunchPromptCB
            '
            Me.QLaunchPromptCB.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
            Me.QLaunchPromptCB.BackColor = System.Drawing.SystemColors.Control
            Me.QLaunchPromptCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.QLaunchPromptCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.QLaunchPromptCB.FormattingEnabled = True
            Me.QLaunchPromptCB.Location = New System.Drawing.Point(97, 176)
            Me.QLaunchPromptCB.Name = "QLaunchPromptCB"
            Me.QLaunchPromptCB.Size = New System.Drawing.Size(397, 21)
            Me.QLaunchPromptCB.TabIndex = 21
            Me.TTGeneral.SetToolTip(Me.QLaunchPromptCB, "" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            '
            'Label16
            '
            Me.Label16.AutoSize = True
            Me.Label16.Location = New System.Drawing.Point(6, 176)
            Me.Label16.Name = "Label16"
            Me.Label16.Size = New System.Drawing.Size(77, 13)
            Me.Label16.TabIndex = 20
            Me.Label16.Text = "Default Action:"
            Me.TTGeneral.SetToolTip(Me.Label16, "Default prompt following use of quicklaunch:" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Keep - Keep the unzipped files in" & _
            " Game Folder" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Delete - Delete the files from quicklaunch folder" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Ask - Ask user " & _
            "what they want to do with the folder")
            '
            'Label15
            '
            Me.Label15.AutoSize = True
            Me.Label15.Location = New System.Drawing.Point(7, 150)
            Me.Label15.Name = "Label15"
            Me.Label15.Size = New System.Drawing.Size(70, 13)
            Me.Label15.TabIndex = 17
            Me.Label15.Text = "Quicklaunch:"
            Me.TTGeneral.SetToolTip(Me.Label15, "Path to Quicklaunch folders. " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "See docs for fuller explanation." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Quicklaunch fold" & _
            "ers contain the unzipped" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "rom files whic can be kept or discarded" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "between game " & _
            "launches.")
            '
            'Label14
            '
            Me.Label14.AutoSize = True
            Me.Label14.Location = New System.Drawing.Point(6, 124)
            Me.Label14.Name = "Label14"
            Me.Label14.Size = New System.Drawing.Size(42, 13)
            Me.Label14.TabIndex = 13
            Me.Label14.Text = "ROMS:"
            Me.TTGeneral.SetToolTip(Me.Label14, "Path to the raw ROM files -" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "unzipped. ")
            '
            'Label13
            '
            Me.Label13.AutoSize = True
            Me.Label13.Location = New System.Drawing.Point(6, 97)
            Me.Label13.Name = "Label13"
            Me.Label13.Size = New System.Drawing.Size(68, 13)
            Me.Label13.TabIndex = 11
            Me.Label13.Text = "Default Emu:"
            Me.TTGeneral.SetToolTip(Me.Label13, "Default emulator to use" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "for this system. Can be " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "modified on per-game basis" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "if" & _
            " more than one emu" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "per system.")
            '
            'Label12
            '
            Me.Label12.AutoSize = True
            Me.Label12.Location = New System.Drawing.Point(6, 70)
            Me.Label12.Name = "Label12"
            Me.Label12.Size = New System.Drawing.Size(75, 13)
            Me.Label12.TabIndex = 9
            Me.Label12.Text = "System Name:"
            Me.TTGeneral.SetToolTip(Me.Label12, "Specify the precise system." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "If not here - can be added" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "in Lists.")
            '
            'Label11
            '
            Me.Label11.AutoSize = True
            Me.Label11.Location = New System.Drawing.Point(235, 23)
            Me.Label11.Name = "Label11"
            Me.Label11.Size = New System.Drawing.Size(38, 13)
            Me.Label11.TabIndex = 7
            Me.Label11.Text = "Name:"
            Me.TTGeneral.SetToolTip(Me.Label11, "GEmvoy name for System." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Advise use the ""Auto"" function.")
            '
            'Label54
            '
            Me.Label54.AutoSize = True
            Me.Label54.Location = New System.Drawing.Point(9, 17)
            Me.Label54.Name = "Label54"
            Me.Label54.Size = New System.Drawing.Size(82, 13)
            Me.Label54.TabIndex = 6
            Me.Label54.Text = "Emulator Setup:"
            Me.TTGeneral.SetToolTip(Me.Label54, "Choose Emulator to edit")
            '
            'EmuLoadSettsBT
            '
            Me.EmuLoadSettsBT.Location = New System.Drawing.Point(44, 21)
            Me.EmuLoadSettsBT.Name = "EmuLoadSettsBT"
            Me.EmuLoadSettsBT.Size = New System.Drawing.Size(56, 23)
            Me.EmuLoadSettsBT.TabIndex = 54
            Me.EmuLoadSettsBT.Text = "Load"
            Me.TTGeneral.SetToolTip(Me.EmuLoadSettsBT, "Load settings specified in" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Settings Profile above into" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "emulator." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            Me.EmuLoadSettsBT.UseVisualStyleBackColor = True
            '
            'EmuSaveEmuSettsBT
            '
            Me.EmuSaveEmuSettsBT.Location = New System.Drawing.Point(106, 21)
            Me.EmuSaveEmuSettsBT.Name = "EmuSaveEmuSettsBT"
            Me.EmuSaveEmuSettsBT.Size = New System.Drawing.Size(56, 23)
            Me.EmuSaveEmuSettsBT.TabIndex = 55
            Me.EmuSaveEmuSettsBT.Text = "Save"
            Me.TTGeneral.SetToolTip(Me.EmuSaveEmuSettsBT, "Save Emulator settings" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "to Settings profile specified" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & " above.")
            Me.EmuSaveEmuSettsBT.UseVisualStyleBackColor = True
            '
            'EmuUnzip
            '
            Me.EmuUnzip.AutoSize = True
            Me.EmuUnzip.Location = New System.Drawing.Point(94, 180)
            Me.EmuUnzip.Name = "EmuUnzip"
            Me.EmuUnzip.Size = New System.Drawing.Size(144, 17)
            Me.EmuUnzip.TabIndex = 6
            Me.EmuUnzip.Text = "Unzip Quicklaunch ROM" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
            Me.TTGeneral.SetToolTip(Me.EmuUnzip, "If wanting to unzip rom into" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "quicklaunch folder before" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "booting in emulator - ti" & _
            "ck this.")
            Me.EmuUnzip.UseVisualStyleBackColor = True
            '
            'EmuDisQLChB
            '
            Me.EmuDisQLChB.AutoSize = True
            Me.EmuDisQLChB.Location = New System.Drawing.Point(238, 180)
            Me.EmuDisQLChB.Name = "EmuDisQLChB"
            Me.EmuDisQLChB.Size = New System.Drawing.Size(124, 17)
            Me.EmuDisQLChB.TabIndex = 42
            Me.EmuDisQLChB.Text = "Diasble Quicklaunch"
            Me.TTGeneral.SetToolTip(Me.EmuDisQLChB, "Disables Quicklaunch if " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "set in System Setup")
            Me.EmuDisQLChB.UseVisualStyleBackColor = True
            '
            'Label25
            '
            Me.Label25.AutoSize = True
            Me.Label25.Location = New System.Drawing.Point(6, 151)
            Me.Label25.Name = "Label25"
            Me.Label25.Size = New System.Drawing.Size(87, 13)
            Me.Label25.TabIndex = 31
            Me.Label25.Text = "Setup Boot Cmd:"
            Me.TTGeneral.SetToolTip(Me.Label25, "Cmd line to use for setup boot.")
            '
            'Label24
            '
            Me.Label24.AutoSize = True
            Me.Label24.Location = New System.Drawing.Point(6, 125)
            Me.Label24.Name = "Label24"
            Me.Label24.Size = New System.Drawing.Size(75, 13)
            Me.Label24.TabIndex = 29
            Me.Label24.Text = "Full Boot Cmd:"
            Me.TTGeneral.SetToolTip(Me.Label24, "Cmd line to use for full boot" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "(e.g. fullscreen, launch into game)")
            '
            'UseAlgoChB
            '
            Me.UseAlgoChB.AutoSize = True
            Me.UseAlgoChB.Location = New System.Drawing.Point(106, 20)
            Me.UseAlgoChB.Name = "UseAlgoChB"
            Me.UseAlgoChB.Size = New System.Drawing.Size(132, 17)
            Me.UseAlgoChB.TabIndex = 50
            Me.UseAlgoChB.Text = "Use Settings Algorithm"
            Me.TTGeneral.SetToolTip(Me.UseAlgoChB, resources.GetString("UseAlgoChB.ToolTip"))
            Me.UseAlgoChB.UseVisualStyleBackColor = True
            '
            'UseSettsScrptChB
            '
            Me.UseSettsScrptChB.AutoSize = True
            Me.UseSettsScrptChB.Location = New System.Drawing.Point(12, 19)
            Me.UseSettsScrptChB.Name = "UseSettsScrptChB"
            Me.UseSettsScrptChB.Size = New System.Drawing.Size(243, 17)
            Me.UseSettsScrptChB.TabIndex = 47
            Me.UseSettsScrptChB.TabStop = True
            Me.UseSettsScrptChB.Text = "Load/Save Settings Profile on per-Game basis" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
            Me.TTGeneral.SetToolTip(Me.UseSettsScrptChB, "Load/Save emulaotr settings on" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "a per-game basis. Enables different" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "graphics/con" & _
            "trols./sound settings" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "for each game.")
            Me.UseSettsScrptChB.UseVisualStyleBackColor = True
            '
            'EmuSettsProfCB
            '
            Me.EmuSettsProfCB.BackColor = System.Drawing.SystemColors.Control
            Me.EmuSettsProfCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.EmuSettsProfCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.EmuSettsProfCB.FormattingEnabled = True
            Me.EmuSettsProfCB.Location = New System.Drawing.Point(94, 147)
            Me.EmuSettsProfCB.Name = "EmuSettsProfCB"
            Me.EmuSettsProfCB.Size = New System.Drawing.Size(400, 21)
            Me.EmuSettsProfCB.TabIndex = 27
            Me.TTGeneral.SetToolTip(Me.EmuSettsProfCB, "Name of settings profile.")
            '
            'KeepSettsHxChB
            '
            Me.KeepSettsHxChB.AutoSize = True
            Me.KeepSettsHxChB.Location = New System.Drawing.Point(249, 20)
            Me.KeepSettsHxChB.Name = "KeepSettsHxChB"
            Me.KeepSettsHxChB.Size = New System.Drawing.Size(127, 17)
            Me.KeepSettsHxChB.TabIndex = 23
            Me.KeepSettsHxChB.Text = "Keep Settings History"
            Me.TTGeneral.SetToolTip(Me.KeepSettsHxChB, "When you make changes to a settings " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "profile, backup history of 5 kept.")
            Me.KeepSettsHxChB.UseVisualStyleBackColor = True
            '
            'Label39
            '
            Me.Label39.AutoSize = True
            Me.Label39.Location = New System.Drawing.Point(3, 120)
            Me.Label39.Name = "Label39"
            Me.Label39.Size = New System.Drawing.Size(75, 13)
            Me.Label39.TabIndex = 24
            Me.Label39.Text = "Use Algorithm:"
            Me.TTGeneral.SetToolTip(Me.Label39, "Algorithm to use for " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "laoding/saving emulator" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "settings.")
            '
            'MountImgChB
            '
            Me.MountImgChB.AutoSize = True
            Me.MountImgChB.Location = New System.Drawing.Point(406, 19)
            Me.MountImgChB.Name = "MountImgChB"
            Me.MountImgChB.Size = New System.Drawing.Size(88, 17)
            Me.MountImgChB.TabIndex = 16
            Me.MountImgChB.Text = "Mount Image"
            Me.TTGeneral.SetToolTip(Me.MountImgChB, "Use the Image mount facility")
            Me.MountImgChB.UseVisualStyleBackColor = True
            '
            'DriveLetterTB
            '
            Me.DriveLetterTB.Location = New System.Drawing.Point(94, 16)
            Me.DriveLetterTB.Name = "DriveLetterTB"
            Me.DriveLetterTB.Size = New System.Drawing.Size(64, 20)
            Me.DriveLetterTB.TabIndex = 24
            Me.TTGeneral.SetToolTip(Me.DriveLetterTB, "Drive letter to use when mounting")
            '
            'UpdateAlgosBT
            '
            Me.UpdateAlgosBT.Location = New System.Drawing.Point(103, 45)
            Me.UpdateAlgosBT.Name = "UpdateAlgosBT"
            Me.UpdateAlgosBT.Size = New System.Drawing.Size(52, 23)
            Me.UpdateAlgosBT.TabIndex = 17
            Me.UpdateAlgosBT.Text = "Update"
            Me.TTGeneral.SetToolTip(Me.UpdateAlgosBT, "Download updated Algorithms" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "via FTP.")
            Me.UpdateAlgosBT.UseVisualStyleBackColor = True
            '
            'PictureBox10
            '
            Me.PictureBox10.BackgroundImage = Global.My.Resources.Resources.spreadsheets_icon
            Me.PictureBox10.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox10.Cursor = System.Windows.Forms.Cursors.Hand
            Me.PictureBox10.Location = New System.Drawing.Point(5, 170)
            Me.PictureBox10.Name = "PictureBox10"
            Me.PictureBox10.Size = New System.Drawing.Size(35, 31)
            Me.PictureBox10.TabIndex = 43
            Me.PictureBox10.TabStop = False
            Me.TTGeneral.SetToolTip(Me.PictureBox10, "Show Emulator setups guide" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "on Google Docs (opens in" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "browser window)")
            '
            'Button8
            '
            Me.Button8.Location = New System.Drawing.Point(156, 45)
            Me.Button8.Name = "Button8"
            Me.Button8.Size = New System.Drawing.Size(54, 23)
            Me.Button8.TabIndex = 18
            Me.Button8.Text = "Manual"
            Me.TTGeneral.SetToolTip(Me.Button8, "Manually download Algorithms" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "from Google Docs")
            Me.Button8.UseVisualStyleBackColor = True
            '
            'SnapGamma
            '
            Me.SnapGamma.AutoSize = False
            Me.SnapGamma.BackColor = System.Drawing.Color.Indigo
            Me.SnapGamma.LargeChange = 10
            Me.SnapGamma.Location = New System.Drawing.Point(6, 81)
            Me.SnapGamma.Maximum = 200
            Me.SnapGamma.Minimum = 1
            Me.SnapGamma.Name = "SnapGamma"
            Me.SnapGamma.Size = New System.Drawing.Size(118, 25)
            Me.SnapGamma.TabIndex = 9
            Me.SnapGamma.TickFrequency = 20
            Me.TTGeneral.SetToolTip(Me.SnapGamma, "Gamma")
            Me.SnapGamma.Value = 100
            '
            'SnapContrast
            '
            Me.SnapContrast.AutoSize = False
            Me.SnapContrast.BackColor = System.Drawing.Color.Black
            Me.SnapContrast.LargeChange = 10
            Me.SnapContrast.Location = New System.Drawing.Point(6, 50)
            Me.SnapContrast.Maximum = 200
            Me.SnapContrast.Name = "SnapContrast"
            Me.SnapContrast.Size = New System.Drawing.Size(118, 25)
            Me.SnapContrast.TabIndex = 8
            Me.SnapContrast.TickFrequency = 20
            Me.TTGeneral.SetToolTip(Me.SnapContrast, "Contrast")
            Me.SnapContrast.Value = 100
            '
            'SnapBrightness
            '
            Me.SnapBrightness.AutoSize = False
            Me.SnapBrightness.BackColor = System.Drawing.Color.WhiteSmoke
            Me.SnapBrightness.LargeChange = 10
            Me.SnapBrightness.Location = New System.Drawing.Point(6, 19)
            Me.SnapBrightness.Maximum = 200
            Me.SnapBrightness.Name = "SnapBrightness"
            Me.SnapBrightness.Size = New System.Drawing.Size(118, 25)
            Me.SnapBrightness.TabIndex = 7
            Me.SnapBrightness.TickFrequency = 20
            Me.TTGeneral.SetToolTip(Me.SnapBrightness, "Brightness")
            Me.SnapBrightness.Value = 100
            '
            'SnapRed
            '
            Me.SnapRed.AutoSize = False
            Me.SnapRed.BackColor = System.Drawing.Color.Firebrick
            Me.SnapRed.LargeChange = 10
            Me.SnapRed.Location = New System.Drawing.Point(6, 112)
            Me.SnapRed.Maximum = 200
            Me.SnapRed.Minimum = -200
            Me.SnapRed.Name = "SnapRed"
            Me.SnapRed.Size = New System.Drawing.Size(118, 25)
            Me.SnapRed.TabIndex = 11
            Me.SnapRed.TickFrequency = 20
            Me.TTGeneral.SetToolTip(Me.SnapRed, "Red")
            '
            'SnapGreen
            '
            Me.SnapGreen.AutoSize = False
            Me.SnapGreen.BackColor = System.Drawing.Color.DarkGreen
            Me.SnapGreen.LargeChange = 10
            Me.SnapGreen.Location = New System.Drawing.Point(6, 143)
            Me.SnapGreen.Maximum = 200
            Me.SnapGreen.Minimum = -200
            Me.SnapGreen.Name = "SnapGreen"
            Me.SnapGreen.Size = New System.Drawing.Size(118, 25)
            Me.SnapGreen.TabIndex = 12
            Me.SnapGreen.TickFrequency = 20
            Me.TTGeneral.SetToolTip(Me.SnapGreen, "Green")
            '
            'SnapBlue
            '
            Me.SnapBlue.AutoSize = False
            Me.SnapBlue.BackColor = System.Drawing.Color.Blue
            Me.SnapBlue.LargeChange = 10
            Me.SnapBlue.Location = New System.Drawing.Point(6, 174)
            Me.SnapBlue.Maximum = 200
            Me.SnapBlue.Minimum = -200
            Me.SnapBlue.Name = "SnapBlue"
            Me.SnapBlue.Size = New System.Drawing.Size(118, 25)
            Me.SnapBlue.TabIndex = 13
            Me.SnapBlue.TickFrequency = 20
            Me.TTGeneral.SetToolTip(Me.SnapBlue, "Blue")
            '
            'Label59
            '
            Me.Label59.AutoSize = True
            Me.Label59.Location = New System.Drawing.Point(6, 49)
            Me.Label59.Name = "Label59"
            Me.Label59.Size = New System.Drawing.Size(74, 13)
            Me.Label59.TabIndex = 19
            Me.Label59.Text = "SnapGap (ms)"
            Me.TTGeneral.SetToolTip(Me.Label59, "Gap in milliseconds between" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "pictures being taken.")
            '
            'Label60
            '
            Me.Label60.AutoSize = True
            Me.Label60.Location = New System.Drawing.Point(6, 75)
            Me.Label60.Name = "Label60"
            Me.Label60.Size = New System.Drawing.Size(70, 13)
            Me.Label60.TabIndex = 21
            Me.Label60.Text = "Burst Wait (s)"
            Me.TTGeneral.SetToolTip(Me.Label60, "Time in seconds to wait between" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "bursts of snaps in Burst mode.")
            '
            'Label61
            '
            Me.Label61.AutoSize = True
            Me.Label61.Location = New System.Drawing.Point(5, 101)
            Me.Label61.Name = "Label61"
            Me.Label61.Size = New System.Drawing.Size(71, 13)
            Me.Label61.TabIndex = 22
            Me.Label61.Text = "Burst Number"
            Me.TTGeneral.SetToolTip(Me.Label61, "Number of snaps to take in" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "a burst in Burst mode. Gaps" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "between shots from SnapG" & _
            "ap.")
            '
            'Label62
            '
            Me.Label62.AutoSize = True
            Me.Label62.Location = New System.Drawing.Point(5, 127)
            Me.Label62.Name = "Label62"
            Me.Label62.Size = New System.Drawing.Size(72, 13)
            Me.Label62.TabIndex = 23
            Me.Label62.Text = "Probability (%)"
            Me.TTGeneral.SetToolTip(Me.Label62, "Percentage probability of a snap" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "being taken when attempted.")
            '
            'Label63
            '
            Me.Label63.AutoSize = True
            Me.Label63.Location = New System.Drawing.Point(6, 153)
            Me.Label63.Name = "Label63"
            Me.Label63.Size = New System.Drawing.Size(75, 13)
            Me.Label63.TabIndex = 29
            Me.Label63.Text = "Snap For (min)"
            Me.TTGeneral.SetToolTip(Me.Label63, "How long to take snaps" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "for in minutes from the" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "game being started. Put" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "o (zero" & _
            ") here for until the" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "game is quit.")
            '
            'SnapStamp
            '
            Me.SnapStamp.AutoSize = True
            Me.SnapStamp.Location = New System.Drawing.Point(9, 141)
            Me.SnapStamp.Name = "SnapStamp"
            Me.SnapStamp.Size = New System.Drawing.Size(82, 17)
            Me.SnapStamp.TabIndex = 22
            Me.SnapStamp.Text = "Date Stamp"
            Me.TTGeneral.SetToolTip(Me.SnapStamp, "Put the date on " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "the picture.")
            Me.SnapStamp.UseVisualStyleBackColor = True
            '
            'SnapPIP
            '
            Me.SnapPIP.AutoSize = True
            Me.SnapPIP.Location = New System.Drawing.Point(9, 118)
            Me.SnapPIP.Name = "SnapPIP"
            Me.SnapPIP.Size = New System.Drawing.Size(100, 17)
            Me.SnapPIP.TabIndex = 21
            Me.SnapPIP.Text = "PIP Screenshot"
            Me.TTGeneral.SetToolTip(Me.SnapPIP, "Include a screenshot" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "of the main screen in" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "the snap.")
            Me.SnapPIP.UseVisualStyleBackColor = True
            '
            'SnapDateFolders
            '
            Me.SnapDateFolders.AutoSize = True
            Me.SnapDateFolders.Location = New System.Drawing.Point(9, 95)
            Me.SnapDateFolders.Name = "SnapDateFolders"
            Me.SnapDateFolders.Size = New System.Drawing.Size(98, 17)
            Me.SnapDateFolders.TabIndex = 20
            Me.SnapDateFolders.Text = "In Date Folders"
            Me.TTGeneral.SetToolTip(Me.SnapDateFolders, "Put any snaps into a " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "dated folder.")
            Me.SnapDateFolders.UseVisualStyleBackColor = True
            '
            'Label58
            '
            Me.Label58.AutoSize = True
            Me.Label58.Location = New System.Drawing.Point(6, 22)
            Me.Label58.Name = "Label58"
            Me.Label58.Size = New System.Drawing.Size(37, 13)
            Me.Label58.TabIndex = 20
            Me.Label58.Text = "Mode:"
            Me.TTGeneral.SetToolTip(Me.Label58, "Cam Snap Mode:" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Continuous - take a snap at a period" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "specified in SnapGap." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Burs" & _
            "t - takes snaps in bursts..")
            '
            'UseHotkeyChB
            '
            Me.UseHotkeyChB.AutoSize = True
            Me.UseHotkeyChB.Location = New System.Drawing.Point(9, 164)
            Me.UseHotkeyChB.Name = "UseHotkeyChB"
            Me.UseHotkeyChB.Size = New System.Drawing.Size(85, 17)
            Me.UseHotkeyChB.TabIndex = 20
            Me.UseHotkeyChB.Text = "Use Hotkey:"
            Me.TTGeneral.SetToolTip(Me.UseHotkeyChB, "If ticked, you must press the" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "assigned hotkey whilst in the" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "GameEx Menu to enab" & _
            "le the" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Cam Snaps. Also depends upon" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & """Enabled.""")
            Me.UseHotkeyChB.UseVisualStyleBackColor = True
            '
            'SnapKeyName
            '
            Me.SnapKeyName.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.SnapKeyName.Location = New System.Drawing.Point(97, 162)
            Me.SnapKeyName.Name = "SnapKeyName"
            Me.SnapKeyName.ReadOnly = True
            Me.SnapKeyName.Size = New System.Drawing.Size(90, 20)
            Me.SnapKeyName.TabIndex = 20
            Me.SnapKeyName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            Me.TTGeneral.SetToolTip(Me.SnapKeyName, "Click in here and press" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "a key to set the Hotkey.")
            '
            'CamSnapEnabled
            '
            Me.CamSnapEnabled.AutoSize = True
            Me.CamSnapEnabled.Location = New System.Drawing.Point(10, 21)
            Me.CamSnapEnabled.Name = "CamSnapEnabled"
            Me.CamSnapEnabled.Size = New System.Drawing.Size(65, 17)
            Me.CamSnapEnabled.TabIndex = 23
            Me.CamSnapEnabled.Text = "Enabled"
            Me.TTGeneral.SetToolTip(Me.CamSnapEnabled, "Enable Cam Snaps between" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Game launch and finish.")
            Me.CamSnapEnabled.UseVisualStyleBackColor = True
            '
            'WarnOnBootChB
            '
            Me.WarnOnBootChB.AutoSize = True
            Me.WarnOnBootChB.Location = New System.Drawing.Point(81, 21)
            Me.WarnOnBootChB.Name = "WarnOnBootChB"
            Me.WarnOnBootChB.Size = New System.Drawing.Size(92, 17)
            Me.WarnOnBootChB.TabIndex = 24
            Me.WarnOnBootChB.Text = "Warn on Boot"
            Me.TTGeneral.SetToolTip(Me.WarnOnBootChB, "If Snaps enabled, but Hotkey" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "not used, tick this to give" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "user a message that Ca" & _
            "m Snaps" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "are running. ")
            Me.WarnOnBootChB.UseVisualStyleBackColor = True
            '
            'DisablePIP
            '
            Me.DisablePIP.AutoSize = True
            Me.DisablePIP.Location = New System.Drawing.Point(363, 180)
            Me.DisablePIP.Name = "DisablePIP"
            Me.DisablePIP.Size = New System.Drawing.Size(81, 17)
            Me.DisablePIP.TabIndex = 6
            Me.DisablePIP.Text = "Disable PIP"
            Me.TTGeneral.SetToolTip(Me.DisablePIP, "Disables the PIP feature" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "of Cam Snap for this emulator." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "For those emulators whi" & _
            "ch dont" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "photograph well (like this author).")
            Me.DisablePIP.UseVisualStyleBackColor = True
            '
            'Label65
            '
            Me.Label65.AutoSize = True
            Me.Label65.Location = New System.Drawing.Point(6, 22)
            Me.Label65.Name = "Label65"
            Me.Label65.Size = New System.Drawing.Size(31, 13)
            Me.Label65.TabIndex = 1
            Me.Label65.Text = "Intro:"
            Me.TTGeneral.SetToolTip(Me.Label65, "Sound played at startup.." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10))
            '
            'Label66
            '
            Me.Label66.AutoSize = True
            Me.Label66.Location = New System.Drawing.Point(6, 48)
            Me.Label66.Name = "Label66"
            Me.Label66.Size = New System.Drawing.Size(39, 13)
            Me.Label66.TabIndex = 11
            Me.Label66.Text = "Focus:"
            Me.TTGeneral.SetToolTip(Me.Label66, "When you move the highlight bar...")
            '
            'Label67
            '
            Me.Label67.AutoSize = True
            Me.Label67.Location = New System.Drawing.Point(6, 74)
            Me.Label67.Name = "Label67"
            Me.Label67.Size = New System.Drawing.Size(37, 13)
            Me.Label67.TabIndex = 15
            Me.Label67.Text = "Select"
            Me.TTGeneral.SetToolTip(Me.Label67, "When you select a menu item...")
            '
            'Button18
            '
            Me.Button18.Location = New System.Drawing.Point(191, 123)
            Me.Button18.Name = "Button18"
            Me.Button18.Size = New System.Drawing.Size(95, 23)
            Me.Button18.TabIndex = 23
            Me.Button18.Text = "Inject Sounds"
            Me.TTGeneral.SetToolTip(Me.Button18, "Inject all into current theme")
            Me.Button18.UseVisualStyleBackColor = True
            '
            'DialoguePrevPB
            '
            Me.DialoguePrevPB.BackColor = System.Drawing.Color.Transparent
            Me.DialoguePrevPB.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.DialoguePrevPB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.DialoguePrevPB.Cursor = System.Windows.Forms.Cursors.Hand
            Me.DialoguePrevPB.Location = New System.Drawing.Point(192, 19)
            Me.DialoguePrevPB.Name = "DialoguePrevPB"
            Me.DialoguePrevPB.Size = New System.Drawing.Size(100, 40)
            Me.DialoguePrevPB.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
            Me.DialoguePrevPB.TabIndex = 1
            Me.DialoguePrevPB.TabStop = False
            Me.TTGeneral.SetToolTip(Me.DialoguePrevPB, "LeftClick - open the Dialog" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "image with your default " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "image editor/viewer." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Ri" & _
            "ghtClick - open the foler" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & " in which it is located." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Edit ""dialog_template"" NO" & _
            "T" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & """dialog""")
            '
            'Button19
            '
            Me.Button19.BackgroundImage = Global.My.Resources.Resources.refresh
            Me.Button19.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.Button19.Location = New System.Drawing.Point(192, 61)
            Me.Button19.Name = "Button19"
            Me.Button19.Size = New System.Drawing.Size(21, 21)
            Me.Button19.TabIndex = 6
            Me.TTGeneral.SetToolTip(Me.Button19, "Refresh MsgBox Image")
            Me.Button19.UseVisualStyleBackColor = True
            '
            'Label70
            '
            Me.Label70.AutoSize = True
            Me.Label70.Location = New System.Drawing.Point(189, 117)
            Me.Label70.Name = "Label70"
            Me.Label70.Size = New System.Drawing.Size(37, 13)
            Me.Label70.TabIndex = 10
            Me.Label70.Text = "Scale:"
            Me.TTGeneral.SetToolTip(Me.Label70, resources.GetString("Label70.ToolTip"))
            '
            'Label69
            '
            Me.Label69.AutoSize = True
            Me.Label69.Location = New System.Drawing.Point(189, 91)
            Me.Label69.Name = "Label69"
            Me.Label69.Size = New System.Drawing.Size(49, 13)
            Me.Label69.TabIndex = 8
            Me.Label69.Text = "Padding:"
            Me.TTGeneral.SetToolTip(Me.Label69, "Padding from edge for msgbox image")
            '
            'Button20
            '
            Me.Button20.Location = New System.Drawing.Point(192, 140)
            Me.Button20.Name = "Button20"
            Me.Button20.Size = New System.Drawing.Size(100, 23)
            Me.Button20.TabIndex = 2
            Me.Button20.Text = "Inject Image"
            Me.TTGeneral.SetToolTip(Me.Button20, "Commit changes to GameEx")
            Me.Button20.UseVisualStyleBackColor = True
            '
            'RfrshCamsBT
            '
            Me.RfrshCamsBT.BackgroundImage = Global.My.Resources.Resources.refresh
            Me.RfrshCamsBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.RfrshCamsBT.Location = New System.Drawing.Point(6, 76)
            Me.RfrshCamsBT.Name = "RfrshCamsBT"
            Me.RfrshCamsBT.Size = New System.Drawing.Size(21, 21)
            Me.RfrshCamsBT.TabIndex = 6
            Me.TTGeneral.SetToolTip(Me.RfrshCamsBT, "Refresh Cam List.")
            Me.RfrshCamsBT.UseVisualStyleBackColor = True
            '
            'SettsShowZipChB
            '
            Me.SettsShowZipChB.AutoSize = True
            Me.SettsShowZipChB.Location = New System.Drawing.Point(36, 60)
            Me.SettsShowZipChB.Name = "SettsShowZipChB"
            Me.SettsShowZipChB.Size = New System.Drawing.Size(141, 17)
            Me.SettsShowZipChB.TabIndex = 2
            Me.SettsShowZipChB.Text = "Show 7z Unzip Progress"
            Me.TTGeneral.SetToolTip(Me.SettsShowZipChB, "Displays 7z GUI Unzip" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "progress bar whilst" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "unzipping.")
            Me.SettsShowZipChB.UseVisualStyleBackColor = True
            '
            'GroupBox14
            '
            Me.GroupBox14.Controls.Add(Me.CreateFolderBT)
            Me.GroupBox14.Controls.Add(Me.CrFoldersChB)
            Me.GroupBox14.Controls.Add(Me.StripBracketsChB)
            Me.GroupBox14.Controls.Add(Me.CloudDummyExtTB)
            Me.GroupBox14.Controls.Add(Me.Label94)
            Me.GroupBox14.Controls.Add(Me.Label93)
            Me.GroupBox14.Controls.Add(Me.DbDirTB)
            Me.GroupBox14.Controls.Add(Me.DbDirBT)
            Me.GroupBox14.Controls.Add(Me.Label55)
            Me.GroupBox14.Controls.Add(Me.QLBaseTB)
            Me.GroupBox14.Controls.Add(Me.QLBaseBT)
            Me.GroupBox14.Controls.Add(Me.DebugMode)
            Me.GroupBox14.Controls.Add(Me.MinConfig)
            Me.GroupBox14.Controls.Add(Me.ContextY)
            Me.GroupBox14.Controls.Add(Me.ContextX)
            Me.GroupBox14.Controls.Add(Me.Label37)
            Me.GroupBox14.Controls.Add(Me.Label36)
            Me.GroupBox14.Controls.Add(Me.ContextMoveChB)
            Me.GroupBox14.Controls.Add(Me.SysSetupDelChB)
            Me.GroupBox14.Controls.Add(Me.EnableAdv)
            Me.GroupBox14.Controls.Add(Me.EmuDelChB)
            Me.GroupBox14.Controls.Add(Me.DelQLChB)
            Me.GroupBox14.Controls.Add(Me.DriveLtrTB)
            Me.GroupBox14.Controls.Add(Me.Label33)
            Me.GroupBox14.Location = New System.Drawing.Point(317, 12)
            Me.GroupBox14.Name = "GroupBox14"
            Me.GroupBox14.Size = New System.Drawing.Size(298, 433)
            Me.GroupBox14.TabIndex = 8
            Me.GroupBox14.TabStop = False
            Me.GroupBox14.Text = "Config Operations"
            Me.TTGeneral.SetToolTip(Me.GroupBox14, "Reset Settings to Default")
            '
            'CreateFolderBT
            '
            Me.CreateFolderBT.Location = New System.Drawing.Point(186, 383)
            Me.CreateFolderBT.Name = "CreateFolderBT"
            Me.CreateFolderBT.Size = New System.Drawing.Size(96, 23)
            Me.CreateFolderBT.TabIndex = 32
            Me.CreateFolderBT.Text = "Create Folders"
            Me.TTGeneral.SetToolTip(Me.CreateFolderBT, "Create a series of sub-folders" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "in specified locaiton.")
            Me.CreateFolderBT.UseVisualStyleBackColor = True
            '
            'CrFoldersChB
            '
            Me.CrFoldersChB.FormattingEnabled = True
            Me.CrFoldersChB.Items.AddRange(New Object() {"Systems", "Emulators"})
            Me.CrFoldersChB.Location = New System.Drawing.Point(8, 385)
            Me.CrFoldersChB.Name = "CrFoldersChB"
            Me.CrFoldersChB.Size = New System.Drawing.Size(170, 21)
            Me.CrFoldersChB.TabIndex = 31
            '
            'StripBracketsChB
            '
            Me.StripBracketsChB.AutoSize = True
            Me.StripBracketsChB.Location = New System.Drawing.Point(8, 134)
            Me.StripBracketsChB.Name = "StripBracketsChB"
            Me.StripBracketsChB.Size = New System.Drawing.Size(197, 17)
            Me.StripBracketsChB.TabIndex = 30
            Me.StripBracketsChB.Text = "Strip Bracketed Text for GameName"
            Me.StripBracketsChB.UseVisualStyleBackColor = True
            '
            'CloudDummyExtTB
            '
            Me.CloudDummyExtTB.Location = New System.Drawing.Point(138, 260)
            Me.CloudDummyExtTB.Name = "CloudDummyExtTB"
            Me.CloudDummyExtTB.Size = New System.Drawing.Size(45, 20)
            Me.CloudDummyExtTB.TabIndex = 29
            '
            'Label94
            '
            Me.Label94.AutoSize = True
            Me.Label94.Location = New System.Drawing.Point(6, 263)
            Me.Label94.Name = "Label94"
            Me.Label94.Size = New System.Drawing.Size(122, 13)
            Me.Label94.TabIndex = 28
            Me.Label94.Text = "Cloud Dummy Extention:"
            '
            'Label93
            '
            Me.Label93.AutoSize = True
            Me.Label93.Location = New System.Drawing.Point(6, 336)
            Me.Label93.Name = "Label93"
            Me.Label93.Size = New System.Drawing.Size(99, 13)
            Me.Label93.TabIndex = 27
            Me.Label93.Text = "Database directory:"
            '
            'DbDirTB
            '
            Me.DbDirTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.DbDirTB.Location = New System.Drawing.Point(38, 355)
            Me.DbDirTB.Name = "DbDirTB"
            Me.DbDirTB.ReadOnly = True
            Me.DbDirTB.Size = New System.Drawing.Size(244, 20)
            Me.DbDirTB.TabIndex = 25
            '
            'DbDirBT
            '
            Me.DbDirBT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.DbDirBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.DbDirBT.Location = New System.Drawing.Point(8, 355)
            Me.DbDirBT.Name = "DbDirBT"
            Me.DbDirBT.Size = New System.Drawing.Size(23, 20)
            Me.DbDirBT.TabIndex = 26
            Me.DbDirBT.UseVisualStyleBackColor = True
            '
            'Label55
            '
            Me.Label55.AutoSize = True
            Me.Label55.Location = New System.Drawing.Point(6, 290)
            Me.Label55.Name = "Label55"
            Me.Label55.Size = New System.Drawing.Size(142, 13)
            Me.Label55.TabIndex = 24
            Me.Label55.Text = "Base Quicklaunch Directory:"
            '
            'QLBaseTB
            '
            Me.QLBaseTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.QLBaseTB.Location = New System.Drawing.Point(38, 309)
            Me.QLBaseTB.Name = "QLBaseTB"
            Me.QLBaseTB.ReadOnly = True
            Me.QLBaseTB.Size = New System.Drawing.Size(244, 20)
            Me.QLBaseTB.TabIndex = 22
            '
            'QLBaseBT
            '
            Me.QLBaseBT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.QLBaseBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.QLBaseBT.Location = New System.Drawing.Point(8, 309)
            Me.QLBaseBT.Name = "QLBaseBT"
            Me.QLBaseBT.Size = New System.Drawing.Size(23, 20)
            Me.QLBaseBT.TabIndex = 23
            Me.QLBaseBT.UseVisualStyleBackColor = True
            '
            'DebugMode
            '
            Me.DebugMode.AutoSize = True
            Me.DebugMode.Location = New System.Drawing.Point(8, 159)
            Me.DebugMode.Name = "DebugMode"
            Me.DebugMode.Size = New System.Drawing.Size(88, 17)
            Me.DebugMode.TabIndex = 12
            Me.DebugMode.Text = "Debug Mode"
            Me.TTGeneral.SetToolTip(Me.DebugMode, "Shows extra information in" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "config and on the datagridviews.")
            Me.DebugMode.UseVisualStyleBackColor = True
            '
            'MinConfig
            '
            Me.MinConfig.AutoSize = True
            Me.MinConfig.Location = New System.Drawing.Point(8, 110)
            Me.MinConfig.Name = "MinConfig"
            Me.MinConfig.Size = New System.Drawing.Size(170, 17)
            Me.MinConfig.TabIndex = 21
            Me.MinConfig.Text = "Minimise Config on Game Boot"
            Me.TTGeneral.SetToolTip(Me.MinConfig, "Minimses the config menu when" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "you either full or setup boot a game" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "from it. Res" & _
            "tores once emulator closed. ")
            Me.MinConfig.UseVisualStyleBackColor = True
            '
            'ContextY
            '
            Me.ContextY.Location = New System.Drawing.Point(84, 207)
            Me.ContextY.Name = "ContextY"
            Me.ContextY.Size = New System.Drawing.Size(45, 20)
            Me.ContextY.TabIndex = 20
            '
            'ContextX
            '
            Me.ContextX.Location = New System.Drawing.Point(19, 207)
            Me.ContextX.Name = "ContextX"
            Me.ContextX.Size = New System.Drawing.Size(45, 20)
            Me.ContextX.TabIndex = 19
            '
            'Label37
            '
            Me.Label37.AutoSize = True
            Me.Label37.Location = New System.Drawing.Point(69, 210)
            Me.Label37.Name = "Label37"
            Me.Label37.Size = New System.Drawing.Size(12, 13)
            Me.Label37.TabIndex = 18
            Me.Label37.Text = "x"
            '
            'Label36
            '
            Me.Label36.AutoSize = True
            Me.Label36.Location = New System.Drawing.Point(135, 210)
            Me.Label36.Name = "Label36"
            Me.Label36.Size = New System.Drawing.Size(38, 13)
            Me.Label36.TabIndex = 16
            Me.Label36.Text = "(X x Y)"
            '
            'ContextMoveChB
            '
            Me.ContextMoveChB.AutoSize = True
            Me.ContextMoveChB.Location = New System.Drawing.Point(8, 184)
            Me.ContextMoveChB.Name = "ContextMoveChB"
            Me.ContextMoveChB.Size = New System.Drawing.Size(173, 17)
            Me.ContextMoveChB.TabIndex = 15
            Me.ContextMoveChB.Text = "Custom Context Menu Position:"
            Me.ContextMoveChB.UseVisualStyleBackColor = True
            '
            'SysSetupDelChB
            '
            Me.SysSetupDelChB.AutoSize = True
            Me.SysSetupDelChB.Location = New System.Drawing.Point(8, 64)
            Me.SysSetupDelChB.Name = "SysSetupDelChB"
            Me.SysSetupDelChB.Size = New System.Drawing.Size(159, 17)
            Me.SysSetupDelChB.TabIndex = 13
            Me.SysSetupDelChB.Text = "Allow System Setup Delete?"
            Me.TTGeneral.SetToolTip(Me.SysSetupDelChB, "Enables System delete in" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "the systems tab.")
            Me.SysSetupDelChB.UseVisualStyleBackColor = True
            '
            'EnableAdv
            '
            Me.EnableAdv.AutoSize = True
            Me.EnableAdv.Location = New System.Drawing.Point(8, 87)
            Me.EnableAdv.Name = "EnableAdv"
            Me.EnableAdv.Size = New System.Drawing.Size(264, 17)
            Me.EnableAdv.TabIndex = 12
            Me.EnableAdv.Text = "Enable Advanced Features in Settings Algorithms?"
            Me.TTGeneral.SetToolTip(Me.EnableAdv, resources.GetString("EnableAdv.ToolTip"))
            Me.EnableAdv.UseVisualStyleBackColor = True
            '
            'EmuDelChB
            '
            Me.EmuDelChB.AutoSize = True
            Me.EmuDelChB.Location = New System.Drawing.Point(8, 41)
            Me.EmuDelChB.Name = "EmuDelChB"
            Me.EmuDelChB.Size = New System.Drawing.Size(166, 17)
            Me.EmuDelChB.TabIndex = 12
            Me.EmuDelChB.Text = "Allow Emulator Setup Delete?"
            Me.TTGeneral.SetToolTip(Me.EmuDelChB, "Enables Emulator setup delete" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "in the emulators tab.")
            Me.EmuDelChB.UseVisualStyleBackColor = True
            '
            'DelQLChB
            '
            Me.DelQLChB.AutoSize = True
            Me.DelQLChB.Location = New System.Drawing.Point(8, 19)
            Me.DelQLChB.Name = "DelQLChB"
            Me.DelQLChB.Size = New System.Drawing.Size(232, 17)
            Me.DelQLChB.TabIndex = 2
            Me.DelQLChB.Text = "Delete Quicklaunch on Game Profile Delete"
            Me.TTGeneral.SetToolTip(Me.DelQLChB, "When you delete a Game Profile," & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "the corresponding Quicklaunch" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "folder and files " & _
            "are also deleted.")
            Me.DelQLChB.UseVisualStyleBackColor = True
            '
            'DriveLtrTB
            '
            Me.DriveLtrTB.Location = New System.Drawing.Point(138, 234)
            Me.DriveLtrTB.MaxLength = 1
            Me.DriveLtrTB.Name = "DriveLtrTB"
            Me.DriveLtrTB.Size = New System.Drawing.Size(45, 20)
            Me.DriveLtrTB.TabIndex = 1
            Me.TTGeneral.SetToolTip(Me.DriveLtrTB, "Drive used by VDrives in " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "absence of any specified.")
            '
            'Label33
            '
            Me.Label33.AutoSize = True
            Me.Label33.Location = New System.Drawing.Point(6, 237)
            Me.Label33.Name = "Label33"
            Me.Label33.Size = New System.Drawing.Size(104, 13)
            Me.Label33.TabIndex = 0
            Me.Label33.Text = "Default Virtual Drive:"
            '
            'SettsReset
            '
            Me.SettsReset.Location = New System.Drawing.Point(211, 50)
            Me.SettsReset.Name = "SettsReset"
            Me.SettsReset.Size = New System.Drawing.Size(43, 32)
            Me.SettsReset.TabIndex = 18
            Me.SettsReset.Text = "Reset"
            Me.TTGeneral.SetToolTip(Me.SettsReset, "Reset all settings to their defaults. " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "This does not reset any data.")
            Me.SettsReset.UseVisualStyleBackColor = True
            '
            'SaveSettsBT
            '
            Me.SaveSettsBT.BackgroundImage = Global.My.Resources.Resources.spanner
            Me.SaveSettsBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.SaveSettsBT.Location = New System.Drawing.Point(260, 50)
            Me.SaveSettsBT.Name = "SaveSettsBT"
            Me.SaveSettsBT.Size = New System.Drawing.Size(32, 32)
            Me.SaveSettsBT.TabIndex = 1
            Me.TTGeneral.SetToolTip(Me.SaveSettsBT, "Manual Save Settings")
            Me.SaveSettsBT.UseVisualStyleBackColor = True
            '
            'GUIFontBT
            '
            Me.GUIFontBT.BackgroundImage = Global.My.Resources.Resources.textsize
            Me.GUIFontBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.GUIFontBT.Location = New System.Drawing.Point(260, 12)
            Me.GUIFontBT.Name = "GUIFontBT"
            Me.GUIFontBT.Size = New System.Drawing.Size(32, 32)
            Me.GUIFontBT.TabIndex = 8
            Me.TTGeneral.SetToolTip(Me.GUIFontBT, "Choose the GUI Font")
            Me.GUIFontBT.UseVisualStyleBackColor = True
            '
            'Button3
            '
            Me.Button3.BackgroundImage = Global.My.Resources.Resources.FootLogo
            Me.Button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.Button3.Location = New System.Drawing.Point(222, 12)
            Me.Button3.Name = "Button3"
            Me.Button3.Size = New System.Drawing.Size(32, 32)
            Me.Button3.TabIndex = 7
            Me.TTGeneral.SetToolTip(Me.Button3, "Apply Custom Colours")
            Me.Button3.UseVisualStyleBackColor = True
            '
            'FormText
            '
            Me.FormText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.FormText.Cursor = System.Windows.Forms.Cursors.Hand
            Me.FormText.Location = New System.Drawing.Point(6, 24)
            Me.FormText.Name = "FormText"
            Me.FormText.Size = New System.Drawing.Size(20, 20)
            Me.FormText.TabIndex = 14
            Me.FormText.TabStop = False
            Me.TTGeneral.SetToolTip(Me.FormText, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'DelThisTB
            '
            Me.DelThisTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.DelThisTB.Location = New System.Drawing.Point(110, 157)
            Me.DelThisTB.Name = "DelThisTB"
            Me.DelThisTB.ReadOnly = True
            Me.DelThisTB.Size = New System.Drawing.Size(67, 20)
            Me.DelThisTB.TabIndex = 10
            Me.DelThisTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            Me.TTGeneral.SetToolTip(Me.DelThisTB, "Click to set the designated key...")
            '
            'KeepThisTB
            '
            Me.KeepThisTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.KeepThisTB.Location = New System.Drawing.Point(110, 66)
            Me.KeepThisTB.Name = "KeepThisTB"
            Me.KeepThisTB.ReadOnly = True
            Me.KeepThisTB.Size = New System.Drawing.Size(67, 20)
            Me.KeepThisTB.TabIndex = 12
            Me.KeepThisTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            Me.TTGeneral.SetToolTip(Me.KeepThisTB, "Click to set the designated key...")
            '
            'KeepAlwysTB
            '
            Me.KeepAlwysTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.KeepAlwysTB.Location = New System.Drawing.Point(198, 113)
            Me.KeepAlwysTB.Name = "KeepAlwysTB"
            Me.KeepAlwysTB.ReadOnly = True
            Me.KeepAlwysTB.Size = New System.Drawing.Size(67, 20)
            Me.KeepAlwysTB.TabIndex = 13
            Me.KeepAlwysTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            Me.TTGeneral.SetToolTip(Me.KeepAlwysTB, "Click to set the designated key...")
            '
            'DelAlwysTB
            '
            Me.DelAlwysTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.DelAlwysTB.Location = New System.Drawing.Point(23, 113)
            Me.DelAlwysTB.Name = "DelAlwysTB"
            Me.DelAlwysTB.ReadOnly = True
            Me.DelAlwysTB.Size = New System.Drawing.Size(67, 20)
            Me.DelAlwysTB.TabIndex = 14
            Me.DelAlwysTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            Me.TTGeneral.SetToolTip(Me.DelAlwysTB, "Click to set the designated key...")
            '
            'SelTB
            '
            Me.SelTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.SelTB.Location = New System.Drawing.Point(110, 113)
            Me.SelTB.Name = "SelTB"
            Me.SelTB.ReadOnly = True
            Me.SelTB.Size = New System.Drawing.Size(67, 20)
            Me.SelTB.TabIndex = 19
            Me.SelTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            Me.TTGeneral.SetToolTip(Me.SelTB, "Click to set the designated key...")
            '
            'ProcMsgFontBT
            '
            Me.ProcMsgFontBT.BackgroundImage = Global.My.Resources.Resources.textsize
            Me.ProcMsgFontBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.ProcMsgFontBT.Location = New System.Drawing.Point(6, 21)
            Me.ProcMsgFontBT.Name = "ProcMsgFontBT"
            Me.ProcMsgFontBT.Size = New System.Drawing.Size(36, 23)
            Me.ProcMsgFontBT.TabIndex = 10
            Me.TTGeneral.SetToolTip(Me.ProcMsgFontBT, "Choose the GUI Font")
            Me.ProcMsgFontBT.UseVisualStyleBackColor = True
            '
            'PictureBox6
            '
            Me.PictureBox6.BackgroundImage = Global.My.Resources.Resources.spreadsheets_icon
            Me.PictureBox6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox6.Cursor = System.Windows.Forms.Cursors.Hand
            Me.PictureBox6.Location = New System.Drawing.Point(6, 19)
            Me.PictureBox6.Name = "PictureBox6"
            Me.PictureBox6.Size = New System.Drawing.Size(42, 42)
            Me.PictureBox6.TabIndex = 13
            Me.PictureBox6.TabStop = False
            Me.TTGeneral.SetToolTip(Me.PictureBox6, "Show Emulator setups guide" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "on Google Docs (opens in" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "browser window)")
            '
            'PictureBox7
            '
            Me.PictureBox7.BackgroundImage = Global.My.Resources.Resources.codeplex
            Me.PictureBox7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox7.Cursor = System.Windows.Forms.Cursors.Hand
            Me.PictureBox7.Location = New System.Drawing.Point(54, 19)
            Me.PictureBox7.Name = "PictureBox7"
            Me.PictureBox7.Size = New System.Drawing.Size(42, 42)
            Me.PictureBox7.TabIndex = 14
            Me.PictureBox7.TabStop = False
            Me.PictureBox7.Tag = "Highlight"
            Me.TTGeneral.SetToolTip(Me.PictureBox7, "Go to Codeplex Home.")
            '
            'PictureBox8
            '
            Me.PictureBox8.BackgroundImage = Global.My.Resources.Resources.gameex
            Me.PictureBox8.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox8.Cursor = System.Windows.Forms.Cursors.Hand
            Me.PictureBox8.Location = New System.Drawing.Point(102, 19)
            Me.PictureBox8.Name = "PictureBox8"
            Me.PictureBox8.Size = New System.Drawing.Size(42, 42)
            Me.PictureBox8.TabIndex = 15
            Me.PictureBox8.TabStop = False
            Me.TTGeneral.SetToolTip(Me.PictureBox8, "Go to GameEx thread.")
            '
            'PictureBox9
            '
            Me.PictureBox9.BackgroundImage = Global.My.Resources.Resources.youtube
            Me.PictureBox9.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox9.Cursor = System.Windows.Forms.Cursors.Hand
            Me.PictureBox9.Location = New System.Drawing.Point(150, 19)
            Me.PictureBox9.Name = "PictureBox9"
            Me.PictureBox9.Size = New System.Drawing.Size(42, 42)
            Me.PictureBox9.TabIndex = 16
            Me.PictureBox9.TabStop = False
            Me.TTGeneral.SetToolTip(Me.PictureBox9, "Go to YouTube Videos.")
            '
            'EmuSettsDL
            '
            Me.EmuSettsDL.BackgroundImage = Global.My.Resources.Resources.xcconfig_9558
            Me.EmuSettsDL.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.EmuSettsDL.Cursor = System.Windows.Forms.Cursors.Hand
            Me.EmuSettsDL.Location = New System.Drawing.Point(198, 19)
            Me.EmuSettsDL.Name = "EmuSettsDL"
            Me.EmuSettsDL.Size = New System.Drawing.Size(42, 42)
            Me.EmuSettsDL.TabIndex = 18
            Me.EmuSettsDL.TabStop = False
            Me.TTGeneral.SetToolTip(Me.EmuSettsDL, "Manually download Emulator" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "settings algorithms.")
            '
            'DonateBT
            '
            Me.DonateBT.BackgroundImage = Global.My.Resources.Resources.Present_icon
            Me.DonateBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.DonateBT.Cursor = System.Windows.Forms.Cursors.Hand
            Me.DonateBT.Location = New System.Drawing.Point(246, 19)
            Me.DonateBT.Name = "DonateBT"
            Me.DonateBT.Size = New System.Drawing.Size(42, 42)
            Me.DonateBT.TabIndex = 19
            Me.DonateBT.TabStop = False
            Me.TTGeneral.SetToolTip(Me.DonateBT, "If this is helpful to you and you'd" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "like to show your  appreciation," & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "buy me a b" & _
            "eer. 8:)")
            '
            'SuppSettsAudioChB
            '
            Me.SuppSettsAudioChB.AutoSize = True
            Me.SuppSettsAudioChB.Location = New System.Drawing.Point(6, 73)
            Me.SuppSettsAudioChB.Name = "SuppSettsAudioChB"
            Me.SuppSettsAudioChB.Size = New System.Drawing.Size(110, 17)
            Me.SuppSettsAudioChB.TabIndex = 22
            Me.SuppSettsAudioChB.Text = "Suppress Speech"
            Me.TTGeneral.SetToolTip(Me.SuppSettsAudioChB, "Suppresses narration when: " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "boot emulator changed, " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Cam snaps toggled or " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Emul" & _
            "ator settings loaded" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "or saved.")
            Me.SuppSettsAudioChB.UseVisualStyleBackColor = True
            '
            'GEEmuHotkeyTB
            '
            Me.GEEmuHotkeyTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GEEmuHotkeyTB.Location = New System.Drawing.Point(111, 18)
            Me.GEEmuHotkeyTB.Name = "GEEmuHotkeyTB"
            Me.GEEmuHotkeyTB.ReadOnly = True
            Me.GEEmuHotkeyTB.Size = New System.Drawing.Size(67, 20)
            Me.GEEmuHotkeyTB.TabIndex = 26
            Me.GEEmuHotkeyTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            Me.TTGeneral.SetToolTip(Me.GEEmuHotkeyTB, "Click in here and press" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "a key to set the Hotkey.")
            '
            'Label72
            '
            Me.Label72.AutoSize = True
            Me.Label72.Location = New System.Drawing.Point(6, 21)
            Me.Label72.Name = "Label72"
            Me.Label72.Size = New System.Drawing.Size(93, 13)
            Me.Label72.TabIndex = 27
            Me.Label72.Text = "Boot Emu Hotkey:"
            Me.TTGeneral.SetToolTip(Me.Label72, "Hotkey to cycle through the " & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "emulators available to boot a game" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "in the GameEx g" & _
            "ame launch menu.")
            '
            'FormBG
            '
            Me.FormBG.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.FormBG.Cursor = System.Windows.Forms.Cursors.Hand
            Me.FormBG.Location = New System.Drawing.Point(6, 50)
            Me.FormBG.Name = "FormBG"
            Me.FormBG.Size = New System.Drawing.Size(20, 20)
            Me.FormBG.TabIndex = 16
            Me.FormBG.TabStop = False
            Me.TTGeneral.SetToolTip(Me.FormBG, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'DatagridHeadersBG
            '
            Me.DatagridHeadersBG.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.DatagridHeadersBG.Cursor = System.Windows.Forms.Cursors.Hand
            Me.DatagridHeadersBG.Location = New System.Drawing.Point(6, 232)
            Me.DatagridHeadersBG.Name = "DatagridHeadersBG"
            Me.DatagridHeadersBG.Size = New System.Drawing.Size(20, 20)
            Me.DatagridHeadersBG.TabIndex = 17
            Me.DatagridHeadersBG.TabStop = False
            Me.TTGeneral.SetToolTip(Me.DatagridHeadersBG, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'DatagridBG
            '
            Me.DatagridBG.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.DatagridBG.Cursor = System.Windows.Forms.Cursors.Hand
            Me.DatagridBG.Location = New System.Drawing.Point(6, 206)
            Me.DatagridBG.Name = "DatagridBG"
            Me.DatagridBG.Size = New System.Drawing.Size(20, 20)
            Me.DatagridBG.TabIndex = 18
            Me.DatagridBG.TabStop = False
            Me.TTGeneral.SetToolTip(Me.DatagridBG, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'ReadOnlyBG
            '
            Me.ReadOnlyBG.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.ReadOnlyBG.Cursor = System.Windows.Forms.Cursors.Hand
            Me.ReadOnlyBG.Location = New System.Drawing.Point(6, 284)
            Me.ReadOnlyBG.Name = "ReadOnlyBG"
            Me.ReadOnlyBG.Size = New System.Drawing.Size(20, 20)
            Me.ReadOnlyBG.TabIndex = 19
            Me.ReadOnlyBG.TabStop = False
            Me.TTGeneral.SetToolTip(Me.ReadOnlyBG, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'ButtonsBG
            '
            Me.ButtonsBG.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.ButtonsBG.Cursor = System.Windows.Forms.Cursors.Hand
            Me.ButtonsBG.Location = New System.Drawing.Point(6, 336)
            Me.ButtonsBG.Name = "ButtonsBG"
            Me.ButtonsBG.Size = New System.Drawing.Size(20, 20)
            Me.ButtonsBG.TabIndex = 20
            Me.ButtonsBG.TabStop = False
            Me.TTGeneral.SetToolTip(Me.ButtonsBG, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'DropdownBG
            '
            Me.DropdownBG.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.DropdownBG.Cursor = System.Windows.Forms.Cursors.Hand
            Me.DropdownBG.Location = New System.Drawing.Point(6, 154)
            Me.DropdownBG.Name = "DropdownBG"
            Me.DropdownBG.Size = New System.Drawing.Size(20, 20)
            Me.DropdownBG.TabIndex = 21
            Me.DropdownBG.TabStop = False
            Me.TTGeneral.SetToolTip(Me.DropdownBG, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'TextboxBG
            '
            Me.TextboxBG.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.TextboxBG.Cursor = System.Windows.Forms.Cursors.Hand
            Me.TextboxBG.Location = New System.Drawing.Point(6, 102)
            Me.TextboxBG.Name = "TextboxBG"
            Me.TextboxBG.Size = New System.Drawing.Size(20, 20)
            Me.TextboxBG.TabIndex = 22
            Me.TextboxBG.TabStop = False
            Me.TTGeneral.SetToolTip(Me.TextboxBG, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'ReadOnlyText
            '
            Me.ReadOnlyText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.ReadOnlyText.Cursor = System.Windows.Forms.Cursors.Hand
            Me.ReadOnlyText.Location = New System.Drawing.Point(6, 258)
            Me.ReadOnlyText.Name = "ReadOnlyText"
            Me.ReadOnlyText.Size = New System.Drawing.Size(20, 20)
            Me.ReadOnlyText.TabIndex = 23
            Me.ReadOnlyText.TabStop = False
            Me.TTGeneral.SetToolTip(Me.ReadOnlyText, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'DropdownText
            '
            Me.DropdownText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.DropdownText.Cursor = System.Windows.Forms.Cursors.Hand
            Me.DropdownText.Location = New System.Drawing.Point(6, 128)
            Me.DropdownText.Name = "DropdownText"
            Me.DropdownText.Size = New System.Drawing.Size(20, 20)
            Me.DropdownText.TabIndex = 24
            Me.DropdownText.TabStop = False
            Me.TTGeneral.SetToolTip(Me.DropdownText, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'FreeText
            '
            Me.FreeText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.FreeText.Cursor = System.Windows.Forms.Cursors.Hand
            Me.FreeText.Location = New System.Drawing.Point(6, 76)
            Me.FreeText.Name = "FreeText"
            Me.FreeText.Size = New System.Drawing.Size(20, 20)
            Me.FreeText.TabIndex = 25
            Me.FreeText.TabStop = False
            Me.TTGeneral.SetToolTip(Me.FreeText, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'TopPanelBG
            '
            Me.TopPanelBG.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.TopPanelBG.Cursor = System.Windows.Forms.Cursors.Hand
            Me.TopPanelBG.Location = New System.Drawing.Point(6, 310)
            Me.TopPanelBG.Name = "TopPanelBG"
            Me.TopPanelBG.Size = New System.Drawing.Size(20, 20)
            Me.TopPanelBG.TabIndex = 36
            Me.TopPanelBG.TabStop = False
            Me.TTGeneral.SetToolTip(Me.TopPanelBG, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'Button22
            '
            Me.Button22.BackgroundImage = CType(resources.GetObject("Button22.BackgroundImage"), System.Drawing.Image)
            Me.Button22.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.Button22.Location = New System.Drawing.Point(260, 78)
            Me.Button22.Name = "Button22"
            Me.Button22.Size = New System.Drawing.Size(32, 32)
            Me.Button22.TabIndex = 9
            Me.TTGeneral.SetToolTip(Me.Button22, "Open GameEx run log.")
            Me.Button22.UseVisualStyleBackColor = True
            '
            'ConfigLog
            '
            Me.ConfigLog.BackgroundImage = Global.My.Resources.Resources.log1
            Me.ConfigLog.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.ConfigLog.Location = New System.Drawing.Point(260, 44)
            Me.ConfigLog.Name = "ConfigLog"
            Me.ConfigLog.Size = New System.Drawing.Size(32, 32)
            Me.ConfigLog.TabIndex = 10
            Me.TTGeneral.SetToolTip(Me.ConfigLog, "Open Configuration Log")
            Me.ConfigLog.UseVisualStyleBackColor = True
            '
            'DatagridText
            '
            Me.DatagridText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.DatagridText.Cursor = System.Windows.Forms.Cursors.Hand
            Me.DatagridText.Location = New System.Drawing.Point(6, 180)
            Me.DatagridText.Name = "DatagridText"
            Me.DatagridText.Size = New System.Drawing.Size(20, 20)
            Me.DatagridText.TabIndex = 38
            Me.DatagridText.TabStop = False
            Me.TTGeneral.SetToolTip(Me.DatagridText, "Colour of the day..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Click the foot, man!")
            '
            'EmuAddProfBT
            '
            Me.EmuAddProfBT.Location = New System.Drawing.Point(450, 21)
            Me.EmuAddProfBT.Name = "EmuAddProfBT"
            Me.EmuAddProfBT.Size = New System.Drawing.Size(41, 23)
            Me.EmuAddProfBT.TabIndex = 53
            Me.EmuAddProfBT.Text = "Add"
            Me.TTGeneral.SetToolTip(Me.EmuAddProfBT, "Add an Emulator Profile" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "named from the text box.")
            Me.EmuAddProfBT.UseVisualStyleBackColor = True
            '
            'PGSettsProfAddBT
            '
            Me.PGSettsProfAddBT.Location = New System.Drawing.Point(452, 20)
            Me.PGSettsProfAddBT.Name = "PGSettsProfAddBT"
            Me.PGSettsProfAddBT.Size = New System.Drawing.Size(41, 23)
            Me.PGSettsProfAddBT.TabIndex = 45
            Me.PGSettsProfAddBT.Text = "Add"
            Me.TTGeneral.SetToolTip(Me.PGSettsProfAddBT, "Add an Game Profile" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "named from the text box.")
            Me.PGSettsProfAddBT.UseVisualStyleBackColor = True
            '
            'NetZipToLocalChB
            '
            Me.NetZipToLocalChB.AutoSize = True
            Me.NetZipToLocalChB.Location = New System.Drawing.Point(36, 106)
            Me.NetZipToLocalChB.Name = "NetZipToLocalChB"
            Me.NetZipToLocalChB.Size = New System.Drawing.Size(176, 17)
            Me.NetZipToLocalChB.TabIndex = 7
            Me.NetZipToLocalChB.Text = "Process Network Zips via Local"
            Me.TTGeneral.SetToolTip(Me.NetZipToLocalChB, "If the gamefile being unzipped is on" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "a network drive, the file will be" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "copied t" & _
            "o the local machine first," & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "before unzipping. 10% slower, but" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "more reliable  - " & _
            "try if getting unzip" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "errors. ")
            Me.NetZipToLocalChB.UseVisualStyleBackColor = True
            '
            'MsgDemo
            '
            Me.MsgDemo.Location = New System.Drawing.Point(134, 50)
            Me.MsgDemo.Name = "MsgDemo"
            Me.MsgDemo.Size = New System.Drawing.Size(83, 23)
            Me.MsgDemo.TabIndex = 12
            Me.MsgDemo.Text = "Adjust"
            Me.TTGeneral.SetToolTip(Me.MsgDemo, "Adjust size and position of" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "prompt window. The resize" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "handle does not show on" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & _
            "final prompt display.")
            Me.MsgDemo.UseVisualStyleBackColor = True
            '
            'RefreshGPs
            '
            Me.RefreshGPs.Location = New System.Drawing.Point(87, 22)
            Me.RefreshGPs.Name = "RefreshGPs"
            Me.RefreshGPs.Size = New System.Drawing.Size(67, 23)
            Me.RefreshGPs.TabIndex = 18
            Me.RefreshGPs.Text = "Refresh"
            Me.TTGeneral.SetToolTip(Me.RefreshGPs, "Re-initialises Gamepads")
            Me.RefreshGPs.UseVisualStyleBackColor = True
            '
            'Button24
            '
            Me.Button24.Location = New System.Drawing.Point(6, 22)
            Me.Button24.Name = "Button24"
            Me.Button24.Size = New System.Drawing.Size(75, 23)
            Me.Button24.TabIndex = 23
            Me.Button24.Text = "Adjust"
            Me.TTGeneral.SetToolTip(Me.Button24, "Adjust size and position of" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "prompt window. The size/resize" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "handles do not show " & _
            "on" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "final prompt display.")
            Me.Button24.UseVisualStyleBackColor = True
            '
            'SysSettsGB
            '
            Me.SysSettsGB.Controls.Add(Me.MakeQLDirBT)
            Me.SysSettsGB.Controls.Add(Me.GEEmuCB)
            Me.SysSettsGB.Controls.Add(Me.Label52)
            Me.SysSettsGB.Controls.Add(Me.SysUseGVChB)
            Me.SysSettsGB.Controls.Add(Me.SysIDTB)
            Me.SysSettsGB.Controls.Add(Me.UseQLaunchChB)
            Me.SysSettsGB.Controls.Add(Me.QLaunchPromptCB)
            Me.SysSettsGB.Controls.Add(Me.Label16)
            Me.SysSettsGB.Controls.Add(Me.QLBT)
            Me.SysSettsGB.Controls.Add(Me.QuicklaunchTB)
            Me.SysSettsGB.Controls.Add(Me.Label15)
            Me.SysSettsGB.Controls.Add(Me.ROMSFolderBT)
            Me.SysSettsGB.Controls.Add(Me.ROMSFolderTB)
            Me.SysSettsGB.Controls.Add(Me.Label14)
            Me.SysSettsGB.Controls.Add(Me.EmuSetupCB)
            Me.SysSettsGB.Controls.Add(Me.Label13)
            Me.SysSettsGB.Controls.Add(Me.SysCB)
            Me.SysSettsGB.Controls.Add(Me.Label12)
            Me.SysSettsGB.Location = New System.Drawing.Point(5, 54)
            Me.SysSettsGB.Name = "SysSettsGB"
            Me.SysSettsGB.Size = New System.Drawing.Size(500, 227)
            Me.SysSettsGB.TabIndex = 2
            Me.SysSettsGB.TabStop = False
            Me.SysSettsGB.Text = "System Setup"
            '
            'GEEmuCB
            '
            Me.GEEmuCB.BackColor = System.Drawing.SystemColors.Control
            Me.GEEmuCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.GEEmuCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.GEEmuCB.FormattingEnabled = True
            Me.GEEmuCB.Location = New System.Drawing.Point(97, 43)
            Me.GEEmuCB.Name = "GEEmuCB"
            Me.GEEmuCB.Size = New System.Drawing.Size(397, 21)
            Me.GEEmuCB.TabIndex = 45
            '
            'SysUseGVChB
            '
            Me.SysUseGVChB.AutoSize = True
            Me.SysUseGVChB.Location = New System.Drawing.Point(97, 19)
            Me.SysUseGVChB.Name = "SysUseGVChB"
            Me.SysUseGVChB.Size = New System.Drawing.Size(165, 17)
            Me.SysUseGVChB.TabIndex = 43
            Me.SysUseGVChB.Text = "Use GEmvoy for this System?"
            Me.SysUseGVChB.UseVisualStyleBackColor = True
            '
            'SysIDTB
            '
            Me.SysIDTB.Enabled = False
            Me.SysIDTB.Location = New System.Drawing.Point(464, 203)
            Me.SysIDTB.Name = "SysIDTB"
            Me.SysIDTB.ReadOnly = True
            Me.SysIDTB.Size = New System.Drawing.Size(30, 20)
            Me.SysIDTB.TabIndex = 41
            Me.SysIDTB.Text = "-1"
            '
            'QLBT
            '
            Me.QLBT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.QLBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.QLBT.Location = New System.Drawing.Point(97, 150)
            Me.QLBT.Name = "QLBT"
            Me.QLBT.Size = New System.Drawing.Size(30, 20)
            Me.QLBT.TabIndex = 19
            Me.QLBT.UseVisualStyleBackColor = True
            '
            'QuicklaunchTB
            '
            Me.QuicklaunchTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.QuicklaunchTB.ForeColor = System.Drawing.SystemColors.InactiveCaptionText
            Me.QuicklaunchTB.Location = New System.Drawing.Point(133, 150)
            Me.QuicklaunchTB.Name = "QuicklaunchTB"
            Me.QuicklaunchTB.ReadOnly = True
            Me.QuicklaunchTB.Size = New System.Drawing.Size(297, 20)
            Me.QuicklaunchTB.TabIndex = 18
            '
            'ROMSFolderBT
            '
            Me.ROMSFolderBT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.ROMSFolderBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.ROMSFolderBT.Location = New System.Drawing.Point(97, 124)
            Me.ROMSFolderBT.Name = "ROMSFolderBT"
            Me.ROMSFolderBT.Size = New System.Drawing.Size(30, 20)
            Me.ROMSFolderBT.TabIndex = 15
            Me.ROMSFolderBT.UseVisualStyleBackColor = True
            '
            'ROMSFolderTB
            '
            Me.ROMSFolderTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.ROMSFolderTB.ForeColor = System.Drawing.SystemColors.InactiveCaptionText
            Me.ROMSFolderTB.Location = New System.Drawing.Point(133, 124)
            Me.ROMSFolderTB.Name = "ROMSFolderTB"
            Me.ROMSFolderTB.ReadOnly = True
            Me.ROMSFolderTB.Size = New System.Drawing.Size(361, 20)
            Me.ROMSFolderTB.TabIndex = 14
            '
            'EmuSetupCB
            '
            Me.EmuSetupCB.BackColor = System.Drawing.SystemColors.Control
            Me.EmuSetupCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.EmuSetupCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.EmuSetupCB.FormattingEnabled = True
            Me.EmuSetupCB.Location = New System.Drawing.Point(97, 97)
            Me.EmuSetupCB.Name = "EmuSetupCB"
            Me.EmuSetupCB.Size = New System.Drawing.Size(397, 21)
            Me.EmuSetupCB.TabIndex = 12
            '
            'SysCB
            '
            Me.SysCB.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
            Me.SysCB.BackColor = System.Drawing.SystemColors.Control
            Me.SysCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.SysCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.SysCB.FormattingEnabled = True
            Me.SysCB.Location = New System.Drawing.Point(97, 70)
            Me.SysCB.Name = "SysCB"
            Me.SysCB.Size = New System.Drawing.Size(397, 21)
            Me.SysCB.TabIndex = 10
            '
            'AutoSysNameBT
            '
            Me.AutoSysNameBT.Enabled = False
            Me.AutoSysNameBT.Location = New System.Drawing.Point(453, 48)
            Me.AutoSysNameBT.Name = "AutoSysNameBT"
            Me.AutoSysNameBT.Size = New System.Drawing.Size(41, 20)
            Me.AutoSysNameBT.TabIndex = 42
            Me.AutoSysNameBT.Text = "Auto"
            Me.AutoSysNameBT.UseVisualStyleBackColor = True
            '
            'SysSetupNameTB
            '
            Me.SysSetupNameTB.Location = New System.Drawing.Point(284, 20)
            Me.SysSetupNameTB.Name = "SysSetupNameTB"
            Me.SysSetupNameTB.ReadOnly = True
            Me.SysSetupNameTB.Size = New System.Drawing.Size(210, 20)
            Me.SysSetupNameTB.TabIndex = 8
            '
            'SnapFor
            '
            Me.SnapFor.Location = New System.Drawing.Point(87, 150)
            Me.SnapFor.Name = "SnapFor"
            Me.SnapFor.Size = New System.Drawing.Size(100, 20)
            Me.SnapFor.TabIndex = 28
            '
            'ofd1
            '
            Me.ofd1.FileName = "7Z.exe"
            '
            'TabsPN
            '
            Me.TabsPN.Controls.Add(Me.MainPanelSplit)
            Me.TabsPN.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TabsPN.Location = New System.Drawing.Point(0, 56)
            Me.TabsPN.Name = "TabsPN"
            Me.TabsPN.Size = New System.Drawing.Size(1143, 733)
            Me.TabsPN.TabIndex = 0
            '
            'MainPanelSplit
            '
            Me.MainPanelSplit.Dock = System.Windows.Forms.DockStyle.Fill
            Me.MainPanelSplit.Location = New System.Drawing.Point(0, 0)
            Me.MainPanelSplit.Name = "MainPanelSplit"
            '
            'MainPanelSplit.Panel1
            '
            Me.MainPanelSplit.Panel1.Controls.Add(Me.TabControl1)
            '
            'MainPanelSplit.Panel2
            '
            Me.MainPanelSplit.Panel2.Controls.Add(Me.InfoBox)
            Me.MainPanelSplit.Panel2Collapsed = True
            Me.MainPanelSplit.Size = New System.Drawing.Size(1143, 733)
            Me.MainPanelSplit.SplitterDistance = 766
            Me.MainPanelSplit.TabIndex = 0
            '
            'TabControl1
            '
            Me.TabControl1.Controls.Add(Me.SystemSetupsTab)
            Me.TabControl1.Controls.Add(Me.EmuSetupsTab)
            Me.TabControl1.Controls.Add(Me.GameSetupsTab)
            Me.TabControl1.Controls.Add(Me.EmuSettsTab)
            Me.TabControl1.Controls.Add(Me.AdditionalTab)
            Me.TabControl1.Controls.Add(Me.ListsTab)
            Me.TabControl1.Controls.Add(Me.Camera)
            Me.TabControl1.Controls.Add(Me.GETweaks)
            Me.TabControl1.Controls.Add(Me.SettingsTab)
            Me.TabControl1.Controls.Add(Me.Speech)
            Me.TabControl1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed
            Me.TabControl1.HotTrack = True
            Me.TabControl1.ItemSize = New System.Drawing.Size(150, 24)
            Me.TabControl1.Location = New System.Drawing.Point(0, 0)
            Me.TabControl1.Name = "TabControl1"
            Me.TabControl1.SelectedIndex = 0
            Me.TabControl1.Size = New System.Drawing.Size(1143, 733)
            Me.TabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed
            Me.TabControl1.TabIndex = 0
            '
            'SystemSetupsTab
            '
            Me.SystemSetupsTab.Controls.Add(Me.SysDGVSplit)
            Me.SystemSetupsTab.Controls.Add(Me.Panel3)
            Me.SystemSetupsTab.Location = New System.Drawing.Point(4, 28)
            Me.SystemSetupsTab.Name = "SystemSetupsTab"
            Me.SystemSetupsTab.Padding = New System.Windows.Forms.Padding(3)
            Me.SystemSetupsTab.Size = New System.Drawing.Size(1135, 701)
            Me.SystemSetupsTab.TabIndex = 3
            Me.SystemSetupsTab.Text = "Systems"
            Me.SystemSetupsTab.UseVisualStyleBackColor = True
            '
            'SysDGVSplit
            '
            Me.SysDGVSplit.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SysDGVSplit.Location = New System.Drawing.Point(514, 3)
            Me.SysDGVSplit.Name = "SysDGVSplit"
            Me.SysDGVSplit.Orientation = System.Windows.Forms.Orientation.Horizontal
            '
            'SysDGVSplit.Panel1
            '
            Me.SysDGVSplit.Panel1.Controls.Add(Me.GroupBox9)
            '
            'SysDGVSplit.Panel2
            '
            Me.SysDGVSplit.Panel2.Controls.Add(Me.GroupBox19)
            Me.SysDGVSplit.Size = New System.Drawing.Size(618, 695)
            Me.SysDGVSplit.SplitterDistance = 330
            Me.SysDGVSplit.TabIndex = 6
            '
            'Panel3
            '
            Me.Panel3.AutoScroll = True
            Me.Panel3.AutoScrollMargin = New System.Drawing.Size(0, 5)
            Me.Panel3.Controls.Add(Me.DEBUG)
            Me.Panel3.Controls.Add(Me.GroupBox23)
            Me.Panel3.Controls.Add(Me.SysSettsGB)
            Me.Panel3.Controls.Add(Me.GroupBox7)
            Me.Panel3.Dock = System.Windows.Forms.DockStyle.Left
            Me.Panel3.Location = New System.Drawing.Point(3, 3)
            Me.Panel3.Name = "Panel3"
            Me.Panel3.Size = New System.Drawing.Size(511, 695)
            Me.Panel3.TabIndex = 5
            '
            'DEBUG
            '
            Me.DEBUG.Controls.Add(Me.Button21)
            Me.DEBUG.Controls.Add(Me.JoyLB)
            Me.DEBUG.Controls.Add(Me.FocusBoxTB)
            Me.DEBUG.Controls.Add(Me.AutoSysNameBT)
            Me.DEBUG.Controls.Add(Me.Label32)
            Me.DEBUG.Controls.Add(Me.TextBox1)
            Me.DEBUG.Controls.Add(Me.VDriveTypeTB)
            Me.DEBUG.Controls.Add(Me.TESTBT)
            Me.DEBUG.Controls.Add(Me.DDTest)
            Me.DEBUG.Controls.Add(Me.GamesRomFolderTB)
            Me.DEBUG.Controls.Add(Me.GameSysSetupCB)
            Me.DEBUG.Controls.Add(Me.SysSetupNameTB)
            Me.DEBUG.Controls.Add(Me.Label11)
            Me.DEBUG.Enabled = False
            Me.DEBUG.Location = New System.Drawing.Point(5, 495)
            Me.DEBUG.Name = "DEBUG"
            Me.DEBUG.Size = New System.Drawing.Size(503, 98)
            Me.DEBUG.TabIndex = 66
            Me.DEBUG.TabStop = False
            Me.DEBUG.Text = "Debug"
            '
            'Button21
            '
            Me.Button21.Location = New System.Drawing.Point(257, 68)
            Me.Button21.Name = "Button21"
            Me.Button21.Size = New System.Drawing.Size(51, 23)
            Me.Button21.TabIndex = 7
            Me.Button21.Text = "Button21"
            Me.Button21.UseVisualStyleBackColor = True
            '
            'JoyLB
            '
            Me.JoyLB.AutoSize = True
            Me.JoyLB.Location = New System.Drawing.Point(206, 74)
            Me.JoyLB.Name = "JoyLB"
            Me.JoyLB.Size = New System.Drawing.Size(45, 13)
            Me.JoyLB.TabIndex = 1
            Me.JoyLB.Text = "Label71"
            '
            'Label32
            '
            Me.Label32.AutoSize = True
            Me.Label32.Location = New System.Drawing.Point(232, 52)
            Me.Label32.Name = "Label32"
            Me.Label32.Size = New System.Drawing.Size(134, 13)
            Me.Label32.TabIndex = 66
            Me.Label32.Text = "FocusBox (do not remove):"
            '
            'VDriveTypeTB
            '
            Me.VDriveTypeTB.Location = New System.Drawing.Point(171, 71)
            Me.VDriveTypeTB.Name = "VDriveTypeTB"
            Me.VDriveTypeTB.Size = New System.Drawing.Size(29, 20)
            Me.VDriveTypeTB.TabIndex = 65
            '
            'GroupBox23
            '
            Me.GroupBox23.BackColor = System.Drawing.Color.Transparent
            Me.GroupBox23.Controls.Add(Me.Label31)
            Me.GroupBox23.Controls.Add(Me.PictureBox11)
            Me.GroupBox23.Controls.Add(Me.SysNewBT)
            Me.GroupBox23.Controls.Add(Me.SysDeleteBT)
            Me.GroupBox23.Controls.Add(Me.SysClearBT)
            Me.GroupBox23.Controls.Add(Me.SysSaveBT)
            Me.GroupBox23.Location = New System.Drawing.Point(5, 1)
            Me.GroupBox23.Name = "GroupBox23"
            Me.GroupBox23.Size = New System.Drawing.Size(500, 45)
            Me.GroupBox23.TabIndex = 3
            Me.GroupBox23.TabStop = False
            '
            'Label31
            '
            Me.Label31.AutoSize = True
            Me.Label31.Location = New System.Drawing.Point(40, 18)
            Me.Label31.Name = "Label31"
            Me.Label31.Size = New System.Drawing.Size(46, 13)
            Me.Label31.TabIndex = 10
            Me.Label31.Text = "Systems"
            '
            'PictureBox11
            '
            Me.PictureBox11.BackgroundImage = Global.My.Resources.Resources.system2
            Me.PictureBox11.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox11.Location = New System.Drawing.Point(4, 9)
            Me.PictureBox11.Name = "PictureBox11"
            Me.PictureBox11.Size = New System.Drawing.Size(30, 30)
            Me.PictureBox11.TabIndex = 9
            Me.PictureBox11.TabStop = False
            '
            'GroupBox7
            '
            Me.GroupBox7.Controls.Add(Me.Label87)
            Me.GroupBox7.Controls.Add(Me.TmpGEEmuID)
            Me.GroupBox7.Controls.Add(Me.GEIDTB)
            Me.GroupBox7.Controls.Add(Me.Label10)
            Me.GroupBox7.Controls.Add(Me.EnableCB)
            Me.GroupBox7.Controls.Add(Me.TitlePathTB)
            Me.GroupBox7.Controls.Add(Me.SnapPathTB)
            Me.GroupBox7.Controls.Add(Me.Label8)
            Me.GroupBox7.Controls.Add(Me.Label9)
            Me.GroupBox7.Controls.Add(Me.RomPathTB)
            Me.GroupBox7.Controls.Add(Me.TitleTTB)
            Me.GroupBox7.Controls.Add(Me.DatabaseTB)
            Me.GroupBox7.Controls.Add(Me.StartPNTB)
            Me.GroupBox7.Controls.Add(Me.Label7)
            Me.GroupBox7.Controls.Add(Me.Label6)
            Me.GroupBox7.Controls.Add(Me.Label5)
            Me.GroupBox7.Controls.Add(Me.Label4)
            Me.GroupBox7.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.GroupBox7.Location = New System.Drawing.Point(5, 287)
            Me.GroupBox7.Name = "GroupBox7"
            Me.GroupBox7.Size = New System.Drawing.Size(500, 202)
            Me.GroupBox7.TabIndex = 1
            Me.GroupBox7.TabStop = False
            Me.GroupBox7.Tag = "ReadOnly"
            Me.GroupBox7.Text = "GameEx Emulator"
            '
            'Label87
            '
            Me.Label87.AutoSize = True
            Me.Label87.Location = New System.Drawing.Point(175, 173)
            Me.Label87.Name = "Label87"
            Me.Label87.Size = New System.Drawing.Size(100, 13)
            Me.Label87.TabIndex = 17
            Me.Label87.Text = "Enabled in GameEx"
            '
            'TmpGEEmuID
            '
            Me.TmpGEEmuID.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.TmpGEEmuID.Enabled = False
            Me.TmpGEEmuID.Location = New System.Drawing.Point(455, 173)
            Me.TmpGEEmuID.Name = "TmpGEEmuID"
            Me.TmpGEEmuID.Size = New System.Drawing.Size(39, 20)
            Me.TmpGEEmuID.TabIndex = 4
            Me.TmpGEEmuID.Text = "-1"
            Me.TmpGEEmuID.Visible = False
            '
            'GEIDTB
            '
            Me.GEIDTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GEIDTB.Enabled = False
            Me.GEIDTB.Location = New System.Drawing.Point(97, 172)
            Me.GEIDTB.Name = "GEIDTB"
            Me.GEIDTB.ReadOnly = True
            Me.GEIDTB.Size = New System.Drawing.Size(55, 20)
            Me.GEIDTB.TabIndex = 16
            Me.GEIDTB.Text = "-1"
            '
            'Label10
            '
            Me.Label10.AutoSize = True
            Me.Label10.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label10.Location = New System.Drawing.Point(6, 173)
            Me.Label10.Name = "Label10"
            Me.Label10.Size = New System.Drawing.Size(64, 13)
            Me.Label10.TabIndex = 15
            Me.Label10.Text = "GameEx ID:"
            '
            'EnableCB
            '
            Me.EnableCB.AutoCheck = False
            Me.EnableCB.AutoSize = True
            Me.EnableCB.Location = New System.Drawing.Point(158, 173)
            Me.EnableCB.Name = "EnableCB"
            Me.EnableCB.Size = New System.Drawing.Size(15, 14)
            Me.EnableCB.TabIndex = 14
            Me.EnableCB.UseVisualStyleBackColor = True
            '
            'TitlePathTB
            '
            Me.TitlePathTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.TitlePathTB.ForeColor = System.Drawing.SystemColors.InactiveCaptionText
            Me.TitlePathTB.Location = New System.Drawing.Point(97, 146)
            Me.TitlePathTB.Name = "TitlePathTB"
            Me.TitlePathTB.ReadOnly = True
            Me.TitlePathTB.Size = New System.Drawing.Size(397, 20)
            Me.TitlePathTB.TabIndex = 13
            '
            'SnapPathTB
            '
            Me.SnapPathTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.SnapPathTB.ForeColor = System.Drawing.SystemColors.InactiveCaptionText
            Me.SnapPathTB.Location = New System.Drawing.Point(97, 120)
            Me.SnapPathTB.Name = "SnapPathTB"
            Me.SnapPathTB.ReadOnly = True
            Me.SnapPathTB.Size = New System.Drawing.Size(397, 20)
            Me.SnapPathTB.TabIndex = 12
            '
            'Label8
            '
            Me.Label8.AutoSize = True
            Me.Label8.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label8.Location = New System.Drawing.Point(6, 146)
            Me.Label8.Name = "Label8"
            Me.Label8.Size = New System.Drawing.Size(55, 13)
            Me.Label8.TabIndex = 11
            Me.Label8.Text = "Title Path:"
            '
            'Label9
            '
            Me.Label9.AutoSize = True
            Me.Label9.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label9.Location = New System.Drawing.Point(6, 120)
            Me.Label9.Name = "Label9"
            Me.Label9.Size = New System.Drawing.Size(60, 13)
            Me.Label9.TabIndex = 10
            Me.Label9.Text = "Snap Path:"
            '
            'RomPathTB
            '
            Me.RomPathTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.RomPathTB.ForeColor = System.Drawing.SystemColors.InactiveCaptionText
            Me.RomPathTB.Location = New System.Drawing.Point(97, 94)
            Me.RomPathTB.Name = "RomPathTB"
            Me.RomPathTB.ReadOnly = True
            Me.RomPathTB.Size = New System.Drawing.Size(397, 20)
            Me.RomPathTB.TabIndex = 9
            '
            'TitleTTB
            '
            Me.TitleTTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.TitleTTB.ForeColor = System.Drawing.SystemColors.InactiveCaptionText
            Me.TitleTTB.Location = New System.Drawing.Point(97, 42)
            Me.TitleTTB.Name = "TitleTTB"
            Me.TitleTTB.ReadOnly = True
            Me.TitleTTB.Size = New System.Drawing.Size(397, 20)
            Me.TitleTTB.TabIndex = 8
            '
            'DatabaseTB
            '
            Me.DatabaseTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.DatabaseTB.ForeColor = System.Drawing.SystemColors.InactiveCaptionText
            Me.DatabaseTB.Location = New System.Drawing.Point(97, 68)
            Me.DatabaseTB.Name = "DatabaseTB"
            Me.DatabaseTB.ReadOnly = True
            Me.DatabaseTB.Size = New System.Drawing.Size(397, 20)
            Me.DatabaseTB.TabIndex = 7
            '
            'StartPNTB
            '
            Me.StartPNTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.StartPNTB.ForeColor = System.Drawing.SystemColors.InactiveCaptionText
            Me.StartPNTB.Location = New System.Drawing.Point(97, 16)
            Me.StartPNTB.Name = "StartPNTB"
            Me.StartPNTB.ReadOnly = True
            Me.StartPNTB.Size = New System.Drawing.Size(397, 20)
            Me.StartPNTB.TabIndex = 6
            '
            'Label7
            '
            Me.Label7.AutoSize = True
            Me.Label7.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label7.Location = New System.Drawing.Point(6, 95)
            Me.Label7.Name = "Label7"
            Me.Label7.Size = New System.Drawing.Size(57, 13)
            Me.Label7.TabIndex = 5
            Me.Label7.Text = "Rom Path:"
            '
            'Label6
            '
            Me.Label6.AutoSize = True
            Me.Label6.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label6.Location = New System.Drawing.Point(6, 42)
            Me.Label6.Name = "Label6"
            Me.Label6.Size = New System.Drawing.Size(51, 13)
            Me.Label6.TabIndex = 4
            Me.Label6.Text = "TitleText:"
            '
            'Label5
            '
            Me.Label5.AutoSize = True
            Me.Label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label5.Location = New System.Drawing.Point(6, 68)
            Me.Label5.Name = "Label5"
            Me.Label5.Size = New System.Drawing.Size(56, 13)
            Me.Label5.TabIndex = 3
            Me.Label5.Text = "Database:"
            '
            'Label4
            '
            Me.Label4.AutoSize = True
            Me.Label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label4.Location = New System.Drawing.Point(6, 16)
            Me.Label4.Name = "Label4"
            Me.Label4.Size = New System.Drawing.Size(85, 13)
            Me.Label4.TabIndex = 2
            Me.Label4.Text = "StartPageName:"
            '
            'EmuSetupsTab
            '
            Me.EmuSetupsTab.Controls.Add(Me.SplitContainer1)
            Me.EmuSetupsTab.Controls.Add(Me.Panel2)
            Me.EmuSetupsTab.Location = New System.Drawing.Point(4, 28)
            Me.EmuSetupsTab.Name = "EmuSetupsTab"
            Me.EmuSetupsTab.Size = New System.Drawing.Size(1135, 701)
            Me.EmuSetupsTab.TabIndex = 6
            Me.EmuSetupsTab.Text = "Emulators"
            Me.EmuSetupsTab.UseVisualStyleBackColor = True
            '
            'SplitContainer1
            '
            Me.SplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitContainer1.Location = New System.Drawing.Point(516, 0)
            Me.SplitContainer1.Name = "SplitContainer1"
            Me.SplitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal
            '
            'SplitContainer1.Panel1
            '
            Me.SplitContainer1.Panel1.Controls.Add(Me.SplitContainer3)
            '
            'SplitContainer1.Panel2
            '
            Me.SplitContainer1.Panel2.Controls.Add(Me.SplitContainer2)
            Me.SplitContainer1.Size = New System.Drawing.Size(619, 701)
            Me.SplitContainer1.SplitterDistance = 276
            Me.SplitContainer1.TabIndex = 5
            '
            'SplitContainer3
            '
            Me.SplitContainer3.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitContainer3.Location = New System.Drawing.Point(0, 0)
            Me.SplitContainer3.Name = "SplitContainer3"
            Me.SplitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal
            '
            'SplitContainer3.Panel1
            '
            Me.SplitContainer3.Panel1.Controls.Add(Me.GroupBox15)
            '
            'SplitContainer3.Panel2
            '
            Me.SplitContainer3.Panel2.Controls.Add(Me.GroupBox16)
            Me.SplitContainer3.Size = New System.Drawing.Size(619, 276)
            Me.SplitContainer3.SplitterDistance = 136
            Me.SplitContainer3.TabIndex = 1
            '
            'GroupBox15
            '
            Me.GroupBox15.Controls.Add(Me.EmuSuppAppsDGV)
            Me.GroupBox15.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox15.Location = New System.Drawing.Point(0, 0)
            Me.GroupBox15.Name = "GroupBox15"
            Me.GroupBox15.Size = New System.Drawing.Size(619, 136)
            Me.GroupBox15.TabIndex = 0
            Me.GroupBox15.TabStop = False
            Me.GroupBox15.Text = "Emulator Support Apps"
            '
            'EmuSuppAppsDGV
            '
            Me.EmuSuppAppsDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.EmuSuppAppsDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.EmuSuppAppsDGV.EnableHeadersVisualStyles = False
            Me.EmuSuppAppsDGV.Location = New System.Drawing.Point(3, 16)
            Me.EmuSuppAppsDGV.Name = "EmuSuppAppsDGV"
            Me.EmuSuppAppsDGV.Size = New System.Drawing.Size(613, 117)
            Me.EmuSuppAppsDGV.TabIndex = 0
            '
            'GroupBox16
            '
            Me.GroupBox16.Controls.Add(Me.EmuKeyRemapDGV)
            Me.GroupBox16.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox16.Location = New System.Drawing.Point(0, 0)
            Me.GroupBox16.Name = "GroupBox16"
            Me.GroupBox16.Size = New System.Drawing.Size(619, 136)
            Me.GroupBox16.TabIndex = 0
            Me.GroupBox16.TabStop = False
            Me.GroupBox16.Text = "Emalator Key Remap"
            '
            'EmuKeyRemapDGV
            '
            Me.EmuKeyRemapDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.EmuKeyRemapDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.EmuKeyRemapDGV.EnableHeadersVisualStyles = False
            Me.EmuKeyRemapDGV.Location = New System.Drawing.Point(3, 16)
            Me.EmuKeyRemapDGV.Name = "EmuKeyRemapDGV"
            Me.EmuKeyRemapDGV.Size = New System.Drawing.Size(613, 117)
            Me.EmuKeyRemapDGV.TabIndex = 0
            '
            'SplitContainer2
            '
            Me.SplitContainer2.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitContainer2.Location = New System.Drawing.Point(0, 0)
            Me.SplitContainer2.Name = "SplitContainer2"
            Me.SplitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal
            '
            'SplitContainer2.Panel1
            '
            Me.SplitContainer2.Panel1.Controls.Add(Me.SplitContainer4)
            '
            'SplitContainer2.Panel2
            '
            Me.SplitContainer2.Panel2.Controls.Add(Me.SplitContainer8)
            Me.SplitContainer2.Size = New System.Drawing.Size(619, 421)
            Me.SplitContainer2.SplitterDistance = 210
            Me.SplitContainer2.TabIndex = 0
            '
            'SplitContainer4
            '
            Me.SplitContainer4.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitContainer4.Location = New System.Drawing.Point(0, 0)
            Me.SplitContainer4.Name = "SplitContainer4"
            '
            'SplitContainer4.Panel1
            '
            Me.SplitContainer4.Panel1.Controls.Add(Me.SysEmusGB)
            '
            'SplitContainer4.Panel2
            '
            Me.SplitContainer4.Panel2.Controls.Add(Me.GroupBox37)
            Me.SplitContainer4.Size = New System.Drawing.Size(619, 210)
            Me.SplitContainer4.SplitterDistance = 314
            Me.SplitContainer4.TabIndex = 1
            '
            'SysEmusGB
            '
            Me.SysEmusGB.Controls.Add(Me.SysEmusDGV)
            Me.SysEmusGB.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SysEmusGB.Location = New System.Drawing.Point(0, 0)
            Me.SysEmusGB.Name = "SysEmusGB"
            Me.SysEmusGB.Size = New System.Drawing.Size(314, 210)
            Me.SysEmusGB.TabIndex = 0
            Me.SysEmusGB.TabStop = False
            Me.SysEmusGB.Text = "System Emulators"
            '
            'SysEmusDGV
            '
            Me.SysEmusDGV.AllowUserToAddRows = False
            Me.SysEmusDGV.AllowUserToDeleteRows = False
            Me.SysEmusDGV.AllowUserToOrderColumns = True
            Me.SysEmusDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.SysEmusDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SysEmusDGV.EnableHeadersVisualStyles = False
            Me.SysEmusDGV.Location = New System.Drawing.Point(3, 16)
            Me.SysEmusDGV.Name = "SysEmusDGV"
            Me.SysEmusDGV.RowHeadersVisible = False
            Me.SysEmusDGV.Size = New System.Drawing.Size(308, 191)
            Me.SysEmusDGV.TabIndex = 0
            '
            'GroupBox37
            '
            Me.GroupBox37.Controls.Add(Me.EmuConfigAppsDGV)
            Me.GroupBox37.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox37.Location = New System.Drawing.Point(0, 0)
            Me.GroupBox37.Name = "GroupBox37"
            Me.GroupBox37.Size = New System.Drawing.Size(301, 210)
            Me.GroupBox37.TabIndex = 0
            Me.GroupBox37.TabStop = False
            Me.GroupBox37.Text = "Emulator Configuration Apps"
            '
            'EmuConfigAppsDGV
            '
            Me.EmuConfigAppsDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.EmuConfigAppsDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.EmuConfigAppsDGV.EnableHeadersVisualStyles = False
            Me.EmuConfigAppsDGV.Location = New System.Drawing.Point(3, 16)
            Me.EmuConfigAppsDGV.Name = "EmuConfigAppsDGV"
            Me.EmuConfigAppsDGV.Size = New System.Drawing.Size(295, 191)
            Me.EmuConfigAppsDGV.TabIndex = 0
            '
            'SplitContainer8
            '
            Me.SplitContainer8.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitContainer8.Location = New System.Drawing.Point(0, 0)
            Me.SplitContainer8.Name = "SplitContainer8"
            '
            'SplitContainer8.Panel1
            '
            Me.SplitContainer8.Panel1.Controls.Add(Me.GroupBox18)
            '
            'SplitContainer8.Panel2
            '
            Me.SplitContainer8.Panel2.Controls.Add(GroupBox26)
            Me.SplitContainer8.Size = New System.Drawing.Size(619, 207)
            Me.SplitContainer8.SplitterDistance = 317
            Me.SplitContainer8.TabIndex = 2
            '
            'GroupBox18
            '
            Me.GroupBox18.Controls.Add(Me.TableLayoutPanel4)
            Me.GroupBox18.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox18.Location = New System.Drawing.Point(0, 0)
            Me.GroupBox18.Name = "GroupBox18"
            Me.GroupBox18.Size = New System.Drawing.Size(317, 207)
            Me.GroupBox18.TabIndex = 1
            Me.GroupBox18.TabStop = False
            Me.GroupBox18.Text = "File Extention Priority"
            '
            'TableLayoutPanel4
            '
            Me.TableLayoutPanel4.ColumnCount = 2
            Me.TableLayoutPanel4.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 30.0!))
            Me.TableLayoutPanel4.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel4.Controls.Add(Me.GameFileExtDownBT, 0, 1)
            Me.TableLayoutPanel4.Controls.Add(Me.EmusFileExtDGV, 1, 0)
            Me.TableLayoutPanel4.Controls.Add(Me.GameFileExtUpBT, 0, 0)
            Me.TableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel4.Location = New System.Drawing.Point(3, 16)
            Me.TableLayoutPanel4.Name = "TableLayoutPanel4"
            Me.TableLayoutPanel4.RowCount = 2
            Me.TableLayoutPanel4.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel4.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel4.Size = New System.Drawing.Size(311, 188)
            Me.TableLayoutPanel4.TabIndex = 1
            '
            'GameFileExtDownBT
            '
            Me.GameFileExtDownBT.BackgroundImage = Global.My.Resources.Resources.down
            Me.GameFileExtDownBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.GameFileExtDownBT.Location = New System.Drawing.Point(3, 32)
            Me.GameFileExtDownBT.Name = "GameFileExtDownBT"
            Me.GameFileExtDownBT.Size = New System.Drawing.Size(23, 24)
            Me.GameFileExtDownBT.TabIndex = 2
            Me.GameFileExtDownBT.UseVisualStyleBackColor = True
            '
            'EmusFileExtDGV
            '
            Me.EmusFileExtDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.EmusFileExtDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.EmusFileExtDGV.EnableHeadersVisualStyles = False
            Me.EmusFileExtDGV.Location = New System.Drawing.Point(33, 3)
            Me.EmusFileExtDGV.Name = "EmusFileExtDGV"
            Me.TableLayoutPanel4.SetRowSpan(Me.EmusFileExtDGV, 2)
            Me.EmusFileExtDGV.Size = New System.Drawing.Size(275, 182)
            Me.EmusFileExtDGV.TabIndex = 0
            '
            'GameFileExtUpBT
            '
            Me.GameFileExtUpBT.BackgroundImage = Global.My.Resources.Resources.up
            Me.GameFileExtUpBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.GameFileExtUpBT.Location = New System.Drawing.Point(3, 3)
            Me.GameFileExtUpBT.Name = "GameFileExtUpBT"
            Me.GameFileExtUpBT.Size = New System.Drawing.Size(23, 23)
            Me.GameFileExtUpBT.TabIndex = 1
            Me.GameFileExtUpBT.UseVisualStyleBackColor = True
            '
            'Panel2
            '
            Me.Panel2.AutoScroll = True
            Me.Panel2.Controls.Add(Me.GroupBox43)
            Me.Panel2.Controls.Add(Me.GroupBox28)
            Me.Panel2.Controls.Add(Me.GroupBox24)
            Me.Panel2.Controls.Add(Me.EmuSetupGB)
            Me.Panel2.Controls.Add(Me.EmuSettsScriptGB)
            Me.Panel2.Controls.Add(Me.VirtDriveGB)
            Me.Panel2.Dock = System.Windows.Forms.DockStyle.Left
            Me.Panel2.Location = New System.Drawing.Point(0, 0)
            Me.Panel2.Name = "Panel2"
            Me.Panel2.Size = New System.Drawing.Size(516, 701)
            Me.Panel2.TabIndex = 4
            '
            'GroupBox43
            '
            Me.GroupBox43.Controls.Add(Me.EmuSelCB)
            Me.GroupBox43.Controls.Add(Me.Label54)
            Me.GroupBox43.Location = New System.Drawing.Point(6, 49)
            Me.GroupBox43.Name = "GroupBox43"
            Me.GroupBox43.Size = New System.Drawing.Size(500, 45)
            Me.GroupBox43.TabIndex = 6
            Me.GroupBox43.TabStop = False
            '
            'GroupBox28
            '
            Me.GroupBox28.BackColor = System.Drawing.Color.Transparent
            Me.GroupBox28.Controls.Add(Me.Label30)
            Me.GroupBox28.Controls.Add(Me.PictureBox12)
            Me.GroupBox28.Controls.Add(Me.SaveNewBT)
            Me.GroupBox28.Controls.Add(Me.EmuClearBT)
            Me.GroupBox28.Controls.Add(Me.EmuSave)
            Me.GroupBox28.Controls.Add(Me.EmuDelBT)
            Me.GroupBox28.Location = New System.Drawing.Point(5, 3)
            Me.GroupBox28.Name = "GroupBox28"
            Me.GroupBox28.Size = New System.Drawing.Size(500, 45)
            Me.GroupBox28.TabIndex = 44
            Me.GroupBox28.TabStop = False
            '
            'Label30
            '
            Me.Label30.AutoSize = True
            Me.Label30.Location = New System.Drawing.Point(43, 19)
            Me.Label30.Name = "Label30"
            Me.Label30.Size = New System.Drawing.Size(53, 13)
            Me.Label30.TabIndex = 1
            Me.Label30.Text = "Emulators"
            '
            'PictureBox12
            '
            Me.PictureBox12.BackgroundImage = Global.My.Resources.Resources.emu2
            Me.PictureBox12.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox12.Location = New System.Drawing.Point(7, 10)
            Me.PictureBox12.Name = "PictureBox12"
            Me.PictureBox12.Size = New System.Drawing.Size(30, 30)
            Me.PictureBox12.TabIndex = 43
            Me.PictureBox12.TabStop = False
            '
            'SaveNewBT
            '
            Me.SaveNewBT.Location = New System.Drawing.Point(369, 14)
            Me.SaveNewBT.Name = "SaveNewBT"
            Me.SaveNewBT.Size = New System.Drawing.Size(66, 23)
            Me.SaveNewBT.TabIndex = 40
            Me.SaveNewBT.Text = "Add New"
            Me.SaveNewBT.UseVisualStyleBackColor = True
            '
            'EmuClearBT
            '
            Me.EmuClearBT.Location = New System.Drawing.Point(319, 14)
            Me.EmuClearBT.Name = "EmuClearBT"
            Me.EmuClearBT.Size = New System.Drawing.Size(44, 23)
            Me.EmuClearBT.TabIndex = 41
            Me.EmuClearBT.Text = "Clear"
            Me.EmuClearBT.UseVisualStyleBackColor = True
            '
            'EmuSave
            '
            Me.EmuSave.Location = New System.Drawing.Point(441, 14)
            Me.EmuSave.Name = "EmuSave"
            Me.EmuSave.Size = New System.Drawing.Size(54, 23)
            Me.EmuSave.TabIndex = 35
            Me.EmuSave.Text = "SAVE"
            Me.EmuSave.UseVisualStyleBackColor = True
            '
            'EmuDelBT
            '
            Me.EmuDelBT.Location = New System.Drawing.Point(255, 14)
            Me.EmuDelBT.Name = "EmuDelBT"
            Me.EmuDelBT.Size = New System.Drawing.Size(58, 23)
            Me.EmuDelBT.TabIndex = 42
            Me.EmuDelBT.Text = "Delete"
            Me.EmuDelBT.UseVisualStyleBackColor = True
            '
            'GroupBox24
            '
            Me.GroupBox24.BackColor = System.Drawing.Color.Transparent
            Me.GroupBox24.Controls.Add(Me.PictureBox14)
            Me.GroupBox24.Controls.Add(Me.EmuLoadSettsBT)
            Me.GroupBox24.Controls.Add(Me.EmuAddProfBT)
            Me.GroupBox24.Controls.Add(Me.EmuSaveEmuSettsBT)
            Me.GroupBox24.Controls.Add(Me.EmuAddProfTB)
            Me.GroupBox24.Location = New System.Drawing.Point(6, 604)
            Me.GroupBox24.Name = "GroupBox24"
            Me.GroupBox24.Size = New System.Drawing.Size(500, 55)
            Me.GroupBox24.TabIndex = 43
            Me.GroupBox24.TabStop = False
            Me.GroupBox24.Text = "Emulator Settings Operations"
            '
            'PictureBox14
            '
            Me.PictureBox14.BackgroundImage = Global.My.Resources.Resources.emu2
            Me.PictureBox14.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox14.Location = New System.Drawing.Point(9, 17)
            Me.PictureBox14.Name = "PictureBox14"
            Me.PictureBox14.Size = New System.Drawing.Size(30, 30)
            Me.PictureBox14.TabIndex = 56
            Me.PictureBox14.TabStop = False
            '
            'EmuAddProfTB
            '
            Me.EmuAddProfTB.Location = New System.Drawing.Point(168, 22)
            Me.EmuAddProfTB.Name = "EmuAddProfTB"
            Me.EmuAddProfTB.Size = New System.Drawing.Size(276, 20)
            Me.EmuAddProfTB.TabIndex = 52
            '
            'EmuSetupGB
            '
            Me.EmuSetupGB.Controls.Add(Me.DisablePIP)
            Me.EmuSetupGB.Controls.Add(Me.PictureBox10)
            Me.EmuSetupGB.Controls.Add(Me.EmuUnzip)
            Me.EmuSetupGB.Controls.Add(Me.EmuDisQLChB)
            Me.EmuSetupGB.Controls.Add(Me.EmuAutoNameBT)
            Me.EmuSetupGB.Controls.Add(Me.EmuIDTB)
            Me.EmuSetupGB.Controls.Add(Me.SetupBootTB)
            Me.EmuSetupGB.Controls.Add(Me.Label25)
            Me.EmuSetupGB.Controls.Add(Me.FullBootTB)
            Me.EmuSetupGB.Controls.Add(Me.Label24)
            Me.EmuSetupGB.Controls.Add(Me.EmuExeBT)
            Me.EmuSetupGB.Controls.Add(Me.EmuExeTB)
            Me.EmuSetupGB.Controls.Add(Me.Label17)
            Me.EmuSetupGB.Controls.Add(Me.EmuSysCB)
            Me.EmuSetupGB.Controls.Add(Me.Label19)
            Me.EmuSetupGB.Controls.Add(Me.EmuListnameCB)
            Me.EmuSetupGB.Controls.Add(Me.Label18)
            Me.EmuSetupGB.Controls.Add(Me.EmuNameTB)
            Me.EmuSetupGB.Controls.Add(Me.Label20)
            Me.EmuSetupGB.Location = New System.Drawing.Point(6, 100)
            Me.EmuSetupGB.Name = "EmuSetupGB"
            Me.EmuSetupGB.Size = New System.Drawing.Size(500, 207)
            Me.EmuSetupGB.TabIndex = 36
            Me.EmuSetupGB.TabStop = False
            Me.EmuSetupGB.Text = "Emulator Profile"
            '
            'EmuAutoNameBT
            '
            Me.EmuAutoNameBT.Location = New System.Drawing.Point(450, 18)
            Me.EmuAutoNameBT.Name = "EmuAutoNameBT"
            Me.EmuAutoNameBT.Size = New System.Drawing.Size(41, 20)
            Me.EmuAutoNameBT.TabIndex = 41
            Me.EmuAutoNameBT.Text = "Auto"
            Me.EmuAutoNameBT.UseVisualStyleBackColor = True
            '
            'EmuIDTB
            '
            Me.EmuIDTB.Enabled = False
            Me.EmuIDTB.Location = New System.Drawing.Point(453, 177)
            Me.EmuIDTB.Name = "EmuIDTB"
            Me.EmuIDTB.ReadOnly = True
            Me.EmuIDTB.Size = New System.Drawing.Size(38, 20)
            Me.EmuIDTB.TabIndex = 40
            Me.EmuIDTB.Text = "-1"
            '
            'SetupBootTB
            '
            Me.SetupBootTB.Location = New System.Drawing.Point(94, 151)
            Me.SetupBootTB.Name = "SetupBootTB"
            Me.SetupBootTB.Size = New System.Drawing.Size(397, 20)
            Me.SetupBootTB.TabIndex = 32
            '
            'FullBootTB
            '
            Me.FullBootTB.Location = New System.Drawing.Point(94, 125)
            Me.FullBootTB.Name = "FullBootTB"
            Me.FullBootTB.Size = New System.Drawing.Size(397, 20)
            Me.FullBootTB.TabIndex = 30
            '
            'EmuExeBT
            '
            Me.EmuExeBT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.EmuExeBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.EmuExeBT.Location = New System.Drawing.Point(94, 99)
            Me.EmuExeBT.Name = "EmuExeBT"
            Me.EmuExeBT.Size = New System.Drawing.Size(30, 20)
            Me.EmuExeBT.TabIndex = 15
            Me.EmuExeBT.UseVisualStyleBackColor = True
            '
            'EmuExeTB
            '
            Me.EmuExeTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.EmuExeTB.Location = New System.Drawing.Point(130, 99)
            Me.EmuExeTB.Name = "EmuExeTB"
            Me.EmuExeTB.ReadOnly = True
            Me.EmuExeTB.Size = New System.Drawing.Size(361, 20)
            Me.EmuExeTB.TabIndex = 14
            '
            'Label17
            '
            Me.Label17.AutoSize = True
            Me.Label17.Location = New System.Drawing.Point(6, 99)
            Me.Label17.Name = "Label17"
            Me.Label17.Size = New System.Drawing.Size(63, 13)
            Me.Label17.TabIndex = 13
            Me.Label17.Text = "Executable:"
            '
            'EmuSysCB
            '
            Me.EmuSysCB.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
            Me.EmuSysCB.BackColor = System.Drawing.SystemColors.Control
            Me.EmuSysCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.EmuSysCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.EmuSysCB.FormattingEnabled = True
            Me.EmuSysCB.Location = New System.Drawing.Point(94, 72)
            Me.EmuSysCB.Name = "EmuSysCB"
            Me.EmuSysCB.Size = New System.Drawing.Size(397, 21)
            Me.EmuSysCB.TabIndex = 10
            '
            'Label19
            '
            Me.Label19.AutoSize = True
            Me.Label19.Location = New System.Drawing.Point(6, 72)
            Me.Label19.Name = "Label19"
            Me.Label19.Size = New System.Drawing.Size(75, 13)
            Me.Label19.TabIndex = 9
            Me.Label19.Text = "System Name:"
            '
            'EmuListnameCB
            '
            Me.EmuListnameCB.BackColor = System.Drawing.SystemColors.Control
            Me.EmuListnameCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.EmuListnameCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.EmuListnameCB.FormattingEnabled = True
            Me.EmuListnameCB.Location = New System.Drawing.Point(94, 45)
            Me.EmuListnameCB.Name = "EmuListnameCB"
            Me.EmuListnameCB.Size = New System.Drawing.Size(397, 21)
            Me.EmuListnameCB.TabIndex = 12
            '
            'Label18
            '
            Me.Label18.AutoSize = True
            Me.Label18.Location = New System.Drawing.Point(6, 45)
            Me.Label18.Name = "Label18"
            Me.Label18.Size = New System.Drawing.Size(82, 13)
            Me.Label18.TabIndex = 11
            Me.Label18.Text = "Emulator Name:"
            '
            'EmuNameTB
            '
            Me.EmuNameTB.Location = New System.Drawing.Point(94, 19)
            Me.EmuNameTB.Name = "EmuNameTB"
            Me.EmuNameTB.Size = New System.Drawing.Size(350, 20)
            Me.EmuNameTB.TabIndex = 8
            '
            'Label20
            '
            Me.Label20.AutoSize = True
            Me.Label20.Location = New System.Drawing.Point(6, 19)
            Me.Label20.Name = "Label20"
            Me.Label20.Size = New System.Drawing.Size(38, 13)
            Me.Label20.TabIndex = 7
            Me.Label20.Text = "Name:"
            '
            'EmuSettsScriptGB
            '
            Me.EmuSettsScriptGB.Controls.Add(Me.UseAlgoChB)
            Me.EmuSettsScriptGB.Controls.Add(Me.GroupBox27)
            Me.EmuSettsScriptGB.Controls.Add(Me.EmuSettsProfCB)
            Me.EmuSettsScriptGB.Controls.Add(Me.Label40)
            Me.EmuSettsScriptGB.Controls.Add(Me.KeepSettsHxChB)
            Me.EmuSettsScriptGB.Controls.Add(Me.EmuSettsAlgoCB)
            Me.EmuSettsScriptGB.Controls.Add(Me.Label39)
            Me.EmuSettsScriptGB.Location = New System.Drawing.Point(6, 419)
            Me.EmuSettsScriptGB.Name = "EmuSettsScriptGB"
            Me.EmuSettsScriptGB.Size = New System.Drawing.Size(500, 179)
            Me.EmuSettsScriptGB.TabIndex = 38
            Me.EmuSettsScriptGB.TabStop = False
            Me.EmuSettsScriptGB.Text = "Emulator Settings"
            '
            'GroupBox27
            '
            Me.GroupBox27.BackColor = System.Drawing.Color.Transparent
            Me.GroupBox27.Controls.Add(Me.UseSettsScrptChB)
            Me.GroupBox27.Controls.Add(Me.EmuSettsProfUseChB)
            Me.GroupBox27.Location = New System.Drawing.Point(94, 43)
            Me.GroupBox27.Name = "GroupBox27"
            Me.GroupBox27.Size = New System.Drawing.Size(400, 68)
            Me.GroupBox27.TabIndex = 49
            Me.GroupBox27.TabStop = False
            '
            'EmuSettsProfUseChB
            '
            Me.EmuSettsProfUseChB.AutoSize = True
            Me.EmuSettsProfUseChB.Location = New System.Drawing.Point(12, 42)
            Me.EmuSettsProfUseChB.Name = "EmuSettsProfUseChB"
            Me.EmuSettsProfUseChB.Size = New System.Drawing.Size(203, 17)
            Me.EmuSettsProfUseChB.TabIndex = 48
            Me.EmuSettsProfUseChB.TabStop = True
            Me.EmuSettsProfUseChB.Text = "Load Settings Profile for Emulator only" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
            Me.EmuSettsProfUseChB.TextAlign = System.Drawing.ContentAlignment.TopLeft
            Me.EmuSettsProfUseChB.UseVisualStyleBackColor = True
            '
            'Label40
            '
            Me.Label40.AutoSize = True
            Me.Label40.Location = New System.Drawing.Point(3, 147)
            Me.Label40.Name = "Label40"
            Me.Label40.Size = New System.Drawing.Size(80, 13)
            Me.Label40.TabIndex = 26
            Me.Label40.Text = "Settings Profile:"
            '
            'EmuSettsAlgoCB
            '
            Me.EmuSettsAlgoCB.BackColor = System.Drawing.SystemColors.Control
            Me.EmuSettsAlgoCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.EmuSettsAlgoCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.EmuSettsAlgoCB.FormattingEnabled = True
            Me.EmuSettsAlgoCB.Location = New System.Drawing.Point(94, 120)
            Me.EmuSettsAlgoCB.Name = "EmuSettsAlgoCB"
            Me.EmuSettsAlgoCB.Size = New System.Drawing.Size(400, 21)
            Me.EmuSettsAlgoCB.TabIndex = 25
            '
            'VirtDriveGB
            '
            Me.VirtDriveGB.Controls.Add(Me.VirtDriveCB)
            Me.VirtDriveGB.Controls.Add(Me.MountImgChB)
            Me.VirtDriveGB.Controls.Add(Me.Label2)
            Me.VirtDriveGB.Controls.Add(Me.Label21)
            Me.VirtDriveGB.Controls.Add(Me.DriveTypeCB)
            Me.VirtDriveGB.Controls.Add(Me.DriveLetterTB)
            Me.VirtDriveGB.Controls.Add(Me.Label23)
            Me.VirtDriveGB.Location = New System.Drawing.Point(6, 313)
            Me.VirtDriveGB.Name = "VirtDriveGB"
            Me.VirtDriveGB.Size = New System.Drawing.Size(500, 100)
            Me.VirtDriveGB.TabIndex = 37
            Me.VirtDriveGB.TabStop = False
            Me.VirtDriveGB.Text = "Virtual Drives"
            '
            'VirtDriveCB
            '
            Me.VirtDriveCB.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
            Me.VirtDriveCB.BackColor = System.Drawing.SystemColors.Control
            Me.VirtDriveCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.VirtDriveCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.VirtDriveCB.FormattingEnabled = True
            Me.VirtDriveCB.Location = New System.Drawing.Point(94, 42)
            Me.VirtDriveCB.Name = "VirtDriveCB"
            Me.VirtDriveCB.Size = New System.Drawing.Size(400, 21)
            Me.VirtDriveCB.TabIndex = 21
            '
            'Label2
            '
            Me.Label2.AutoSize = True
            Me.Label2.Location = New System.Drawing.Point(3, 42)
            Me.Label2.Name = "Label2"
            Me.Label2.Size = New System.Drawing.Size(67, 13)
            Me.Label2.TabIndex = 20
            Me.Label2.Text = "Virtual Drive:"
            '
            'Label21
            '
            Me.Label21.AutoSize = True
            Me.Label21.Location = New System.Drawing.Point(4, 16)
            Me.Label21.Name = "Label21"
            Me.Label21.Size = New System.Drawing.Size(65, 13)
            Me.Label21.TabIndex = 23
            Me.Label21.Text = "Drive Letter:"
            '
            'DriveTypeCB
            '
            Me.DriveTypeCB.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
            Me.DriveTypeCB.BackColor = System.Drawing.SystemColors.Control
            Me.DriveTypeCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.DriveTypeCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.DriveTypeCB.FormattingEnabled = True
            Me.DriveTypeCB.Location = New System.Drawing.Point(94, 69)
            Me.DriveTypeCB.Name = "DriveTypeCB"
            Me.DriveTypeCB.Size = New System.Drawing.Size(400, 21)
            Me.DriveTypeCB.TabIndex = 28
            '
            'Label23
            '
            Me.Label23.AutoSize = True
            Me.Label23.Location = New System.Drawing.Point(3, 69)
            Me.Label23.Name = "Label23"
            Me.Label23.Size = New System.Drawing.Size(62, 13)
            Me.Label23.TabIndex = 27
            Me.Label23.Text = "Drive Type:"
            '
            'GameSetupsTab
            '
            Me.GameSetupsTab.Controls.Add(Me.GamesRHS)
            Me.GameSetupsTab.Controls.Add(Me.Panel7)
            Me.GameSetupsTab.Location = New System.Drawing.Point(4, 28)
            Me.GameSetupsTab.Name = "GameSetupsTab"
            Me.GameSetupsTab.Size = New System.Drawing.Size(1135, 701)
            Me.GameSetupsTab.TabIndex = 7
            Me.GameSetupsTab.Text = "Games"
            Me.GameSetupsTab.UseVisualStyleBackColor = True
            '
            'GamesRHS
            '
            Me.GamesRHS.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GamesRHS.Location = New System.Drawing.Point(513, 0)
            Me.GamesRHS.Name = "GamesRHS"
            Me.GamesRHS.Orientation = System.Windows.Forms.Orientation.Horizontal
            '
            'GamesRHS.Panel1
            '
            Me.GamesRHS.Panel1.AutoScroll = True
            Me.GamesRHS.Panel1.Controls.Add(Me.SplitTop)
            '
            'GamesRHS.Panel2
            '
            Me.GamesRHS.Panel2.AutoScroll = True
            Me.GamesRHS.Panel2.Controls.Add(Me.SplitBottom)
            Me.GamesRHS.Size = New System.Drawing.Size(622, 701)
            Me.GamesRHS.SplitterDistance = 192
            Me.GamesRHS.TabIndex = 46
            '
            'SplitTop
            '
            Me.SplitTop.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitTop.Location = New System.Drawing.Point(0, 0)
            Me.SplitTop.Name = "SplitTop"
            Me.SplitTop.Orientation = System.Windows.Forms.Orientation.Horizontal
            '
            'SplitTop.Panel1
            '
            Me.SplitTop.Panel1.Controls.Add(Me.GroupBox17)
            '
            'SplitTop.Panel2
            '
            Me.SplitTop.Panel2.Controls.Add(Me.GamesKeyRemapGB)
            Me.SplitTop.Size = New System.Drawing.Size(622, 192)
            Me.SplitTop.SplitterDistance = 91
            Me.SplitTop.TabIndex = 1
            '
            'GroupBox17
            '
            Me.GroupBox17.Controls.Add(Me.GameSuppAppsDGV)
            Me.GroupBox17.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox17.Location = New System.Drawing.Point(0, 0)
            Me.GroupBox17.Name = "GroupBox17"
            Me.GroupBox17.Size = New System.Drawing.Size(622, 91)
            Me.GroupBox17.TabIndex = 0
            Me.GroupBox17.TabStop = False
            Me.GroupBox17.Text = "Game Support Apps"
            '
            'GameSuppAppsDGV
            '
            Me.GameSuppAppsDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.GameSuppAppsDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GameSuppAppsDGV.EnableHeadersVisualStyles = False
            Me.GameSuppAppsDGV.Location = New System.Drawing.Point(3, 16)
            Me.GameSuppAppsDGV.Name = "GameSuppAppsDGV"
            Me.GameSuppAppsDGV.Size = New System.Drawing.Size(616, 72)
            Me.GameSuppAppsDGV.TabIndex = 0
            '
            'GamesKeyRemapGB
            '
            Me.GamesKeyRemapGB.Controls.Add(Me.GameKeyRemapDGV)
            Me.GamesKeyRemapGB.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GamesKeyRemapGB.Location = New System.Drawing.Point(0, 0)
            Me.GamesKeyRemapGB.Name = "GamesKeyRemapGB"
            Me.GamesKeyRemapGB.Size = New System.Drawing.Size(622, 97)
            Me.GamesKeyRemapGB.TabIndex = 0
            Me.GamesKeyRemapGB.TabStop = False
            Me.GamesKeyRemapGB.Text = "Game Key Remap"
            '
            'GameKeyRemapDGV
            '
            Me.GameKeyRemapDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.GameKeyRemapDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GameKeyRemapDGV.EnableHeadersVisualStyles = False
            Me.GameKeyRemapDGV.Location = New System.Drawing.Point(3, 16)
            Me.GameKeyRemapDGV.Name = "GameKeyRemapDGV"
            Me.GameKeyRemapDGV.Size = New System.Drawing.Size(616, 78)
            Me.GameKeyRemapDGV.TabIndex = 0
            '
            'SplitBottom
            '
            Me.SplitBottom.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitBottom.Location = New System.Drawing.Point(0, 0)
            Me.SplitBottom.Name = "SplitBottom"
            Me.SplitBottom.Orientation = System.Windows.Forms.Orientation.Horizontal
            '
            'SplitBottom.Panel1
            '
            Me.SplitBottom.Panel1.AutoScroll = True
            Me.SplitBottom.Panel1.Controls.Add(Me.GamesGB)
            '
            'SplitBottom.Panel2
            '
            Me.SplitBottom.Panel2.AutoScroll = True
            Me.SplitBottom.Panel2.Controls.Add(GroupBox29)
            Me.SplitBottom.Size = New System.Drawing.Size(622, 505)
            Me.SplitBottom.SplitterDistance = 409
            Me.SplitBottom.TabIndex = 1
            '
            'GamesGB
            '
            Me.GamesGB.Controls.Add(Me.TableLayoutPanel11)
            Me.GamesGB.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GamesGB.Location = New System.Drawing.Point(0, 0)
            Me.GamesGB.Name = "GamesGB"
            Me.GamesGB.Size = New System.Drawing.Size(622, 409)
            Me.GamesGB.TabIndex = 0
            Me.GamesGB.TabStop = False
            Me.GamesGB.Text = "Games List"
            '
            'TableLayoutPanel11
            '
            Me.TableLayoutPanel11.AutoScroll = True
            Me.TableLayoutPanel11.ColumnCount = 3
            Me.TableLayoutPanel11.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle())
            Me.TableLayoutPanel11.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle())
            Me.TableLayoutPanel11.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel11.Controls.Add(Me.GamesListDGV, 0, 1)
            Me.TableLayoutPanel11.Controls.Add(Me.GamesNarrowCB, 2, 0)
            Me.TableLayoutPanel11.Controls.Add(Me.Button7, 1, 0)
            Me.TableLayoutPanel11.Controls.Add(Me.GamesListFilterCB, 0, 0)
            Me.TableLayoutPanel11.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel11.Location = New System.Drawing.Point(3, 16)
            Me.TableLayoutPanel11.Name = "TableLayoutPanel11"
            Me.TableLayoutPanel11.RowCount = 2
            Me.TableLayoutPanel11.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel11.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel11.Size = New System.Drawing.Size(616, 390)
            Me.TableLayoutPanel11.TabIndex = 0
            '
            'GamesListDGV
            '
            Me.GamesListDGV.AllowUserToAddRows = False
            Me.GamesListDGV.AllowUserToDeleteRows = False
            Me.GamesListDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.TableLayoutPanel11.SetColumnSpan(Me.GamesListDGV, 3)
            Me.GamesListDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GamesListDGV.EnableHeadersVisualStyles = False
            Me.GamesListDGV.Location = New System.Drawing.Point(3, 30)
            Me.GamesListDGV.Name = "GamesListDGV"
            Me.GamesListDGV.ReadOnly = True
            Me.GamesListDGV.Size = New System.Drawing.Size(610, 357)
            Me.GamesListDGV.TabIndex = 0
            '
            'GamesNarrowCB
            '
            Me.GamesNarrowCB.Anchor = System.Windows.Forms.AnchorStyles.Left
            Me.GamesNarrowCB.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest
            Me.GamesNarrowCB.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems
            Me.GamesNarrowCB.FormattingEnabled = True
            Me.GamesNarrowCB.Location = New System.Drawing.Point(147, 3)
            Me.GamesNarrowCB.Name = "GamesNarrowCB"
            Me.GamesNarrowCB.Size = New System.Drawing.Size(466, 21)
            Me.GamesNarrowCB.TabIndex = 3
            '
            'GamesListFilterCB
            '
            Me.GamesListFilterCB.Anchor = System.Windows.Forms.AnchorStyles.Left
            Me.GamesListFilterCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.GamesListFilterCB.FlatStyle = System.Windows.Forms.FlatStyle.System
            Me.GamesListFilterCB.FormattingEnabled = True
            Me.GamesListFilterCB.Items.AddRange(New Object() {"ROM", "Emulator", "All"})
            Me.GamesListFilterCB.Location = New System.Drawing.Point(3, 3)
            Me.GamesListFilterCB.Name = "GamesListFilterCB"
            Me.GamesListFilterCB.Size = New System.Drawing.Size(78, 21)
            Me.GamesListFilterCB.TabIndex = 1
            '
            'Panel7
            '
            Me.Panel7.AutoScroll = True
            Me.Panel7.Controls.Add(Me.GroupBox42)
            Me.Panel7.Controls.Add(Me.GroupBox34)
            Me.Panel7.Controls.Add(Me.GamesEmuSettsGB)
            Me.Panel7.Controls.Add(Me.GameProfileGB)
            Me.Panel7.Dock = System.Windows.Forms.DockStyle.Left
            Me.Panel7.Location = New System.Drawing.Point(0, 0)
            Me.Panel7.Name = "Panel7"
            Me.Panel7.Size = New System.Drawing.Size(513, 701)
            Me.Panel7.TabIndex = 0
            '
            'GroupBox42
            '
            Me.GroupBox42.Controls.Add(Me.PictureBox15)
            Me.GroupBox42.Controls.Add(Me.LoadSettsBT)
            Me.GroupBox42.Controls.Add(Me.PGSettsProfAddBT)
            Me.GroupBox42.Controls.Add(Me.Button2)
            Me.GroupBox42.Controls.Add(Me.PGSettsProfAddTB)
            Me.GroupBox42.Location = New System.Drawing.Point(6, 600)
            Me.GroupBox42.Name = "GroupBox42"
            Me.GroupBox42.Size = New System.Drawing.Size(500, 52)
            Me.GroupBox42.TabIndex = 49
            Me.GroupBox42.TabStop = False
            Me.GroupBox42.Text = "Game Settings Operations"
            '
            'PictureBox15
            '
            Me.PictureBox15.BackgroundImage = Global.My.Resources.Resources.pac2
            Me.PictureBox15.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox15.Location = New System.Drawing.Point(8, 16)
            Me.PictureBox15.Name = "PictureBox15"
            Me.PictureBox15.Size = New System.Drawing.Size(30, 30)
            Me.PictureBox15.TabIndex = 49
            Me.PictureBox15.TabStop = False
            '
            'LoadSettsBT
            '
            Me.LoadSettsBT.Location = New System.Drawing.Point(44, 20)
            Me.LoadSettsBT.Name = "LoadSettsBT"
            Me.LoadSettsBT.Size = New System.Drawing.Size(56, 23)
            Me.LoadSettsBT.TabIndex = 47
            Me.LoadSettsBT.Text = "Load"
            Me.LoadSettsBT.UseVisualStyleBackColor = True
            '
            'Button2
            '
            Me.Button2.Location = New System.Drawing.Point(106, 20)
            Me.Button2.Name = "Button2"
            Me.Button2.Size = New System.Drawing.Size(56, 23)
            Me.Button2.TabIndex = 48
            Me.Button2.Text = "Save"
            Me.Button2.UseVisualStyleBackColor = True
            '
            'PGSettsProfAddTB
            '
            Me.PGSettsProfAddTB.Location = New System.Drawing.Point(168, 21)
            Me.PGSettsProfAddTB.Name = "PGSettsProfAddTB"
            Me.PGSettsProfAddTB.Size = New System.Drawing.Size(278, 20)
            Me.PGSettsProfAddTB.TabIndex = 44
            '
            'GroupBox34
            '
            Me.GroupBox34.BackColor = System.Drawing.Color.Transparent
            Me.GroupBox34.Controls.Add(Me.Label41)
            Me.GroupBox34.Controls.Add(Me.PictureBox13)
            Me.GroupBox34.Controls.Add(Me.GamesSave)
            Me.GroupBox34.Controls.Add(Me.Button5)
            Me.GroupBox34.Controls.Add(Me.GameClear)
            Me.GroupBox34.Controls.Add(Me.GamesDelete)
            Me.GroupBox34.Controls.Add(Me.GameUniqueNameTB)
            Me.GroupBox34.Location = New System.Drawing.Point(6, 3)
            Me.GroupBox34.Name = "GroupBox34"
            Me.GroupBox34.Size = New System.Drawing.Size(500, 45)
            Me.GroupBox34.TabIndex = 51
            Me.GroupBox34.TabStop = False
            '
            'Label41
            '
            Me.Label41.AutoSize = True
            Me.Label41.Location = New System.Drawing.Point(42, 19)
            Me.Label41.Name = "Label41"
            Me.Label41.Size = New System.Drawing.Size(40, 13)
            Me.Label41.TabIndex = 11
            Me.Label41.Text = "Games"
            '
            'PictureBox13
            '
            Me.PictureBox13.BackgroundImage = Global.My.Resources.Resources.pac2
            Me.PictureBox13.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox13.Location = New System.Drawing.Point(6, 10)
            Me.PictureBox13.Name = "PictureBox13"
            Me.PictureBox13.Size = New System.Drawing.Size(30, 30)
            Me.PictureBox13.TabIndex = 10
            Me.PictureBox13.TabStop = False
            '
            'GamesSave
            '
            Me.GamesSave.Location = New System.Drawing.Point(439, 14)
            Me.GamesSave.Name = "GamesSave"
            Me.GamesSave.Size = New System.Drawing.Size(54, 23)
            Me.GamesSave.TabIndex = 5
            Me.GamesSave.Text = "SAVE"
            Me.GamesSave.UseVisualStyleBackColor = True
            '
            'Button5
            '
            Me.Button5.Location = New System.Drawing.Point(368, 14)
            Me.Button5.Name = "Button5"
            Me.Button5.Size = New System.Drawing.Size(66, 23)
            Me.Button5.TabIndex = 4
            Me.Button5.Text = "Add New"
            Me.Button5.UseVisualStyleBackColor = True
            '
            'GameClear
            '
            Me.GameClear.Location = New System.Drawing.Point(318, 14)
            Me.GameClear.Name = "GameClear"
            Me.GameClear.Size = New System.Drawing.Size(44, 23)
            Me.GameClear.TabIndex = 3
            Me.GameClear.Text = "Clear"
            Me.GameClear.UseVisualStyleBackColor = True
            '
            'GamesDelete
            '
            Me.GamesDelete.Location = New System.Drawing.Point(254, 14)
            Me.GamesDelete.Name = "GamesDelete"
            Me.GamesDelete.Size = New System.Drawing.Size(58, 23)
            Me.GamesDelete.TabIndex = 2
            Me.GamesDelete.Text = "Delete"
            Me.GamesDelete.UseVisualStyleBackColor = True
            '
            'GameUniqueNameTB
            '
            Me.GameUniqueNameTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GameUniqueNameTB.Enabled = False
            Me.GameUniqueNameTB.Location = New System.Drawing.Point(199, 16)
            Me.GameUniqueNameTB.Name = "GameUniqueNameTB"
            Me.GameUniqueNameTB.ReadOnly = True
            Me.GameUniqueNameTB.Size = New System.Drawing.Size(24, 20)
            Me.GameUniqueNameTB.TabIndex = 6
            Me.GameUniqueNameTB.Visible = False
            '
            'GamesEmuSettsGB
            '
            Me.GamesEmuSettsGB.Controls.Add(Me.GroupBox33)
            Me.GamesEmuSettsGB.Controls.Add(Me.GroupBox32)
            Me.GamesEmuSettsGB.Controls.Add(Me.PGSettsProfCB)
            Me.GamesEmuSettsGB.Controls.Add(Me.Label42)
            Me.GamesEmuSettsGB.Controls.Add(Me.PGSettsAlgCB)
            Me.GamesEmuSettsGB.Controls.Add(Me.Label43)
            Me.GamesEmuSettsGB.Location = New System.Drawing.Point(6, 427)
            Me.GamesEmuSettsGB.Name = "GamesEmuSettsGB"
            Me.GamesEmuSettsGB.Size = New System.Drawing.Size(500, 168)
            Me.GamesEmuSettsGB.TabIndex = 48
            Me.GamesEmuSettsGB.TabStop = False
            Me.GamesEmuSettsGB.Text = "Per-Game Emulator Settings"
            '
            'GroupBox33
            '
            Me.GroupBox33.Controls.Add(Me.Label90)
            Me.GroupBox33.Controls.Add(Me.Label89)
            Me.GroupBox33.Controls.Add(Me.EmuProfTB)
            Me.GroupBox33.Controls.Add(Me.Label51)
            Me.GroupBox33.Controls.Add(Me.EmuOnlyChB)
            Me.GroupBox33.Controls.Add(Me.GameInSettsHxChB)
            Me.GroupBox33.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.GroupBox33.Location = New System.Drawing.Point(289, 22)
            Me.GroupBox33.Name = "GroupBox33"
            Me.GroupBox33.Size = New System.Drawing.Size(200, 84)
            Me.GroupBox33.TabIndex = 52
            Me.GroupBox33.TabStop = False
            Me.GroupBox33.Text = "Inherited"
            '
            'Label90
            '
            Me.Label90.AutoSize = True
            Me.Label90.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label90.Location = New System.Drawing.Point(28, 39)
            Me.Label90.Name = "Label90"
            Me.Label90.Size = New System.Drawing.Size(106, 13)
            Me.Label90.TabIndex = 51
            Me.Label90.Text = "Use Emu Only Profile"
            '
            'Label89
            '
            Me.Label89.AutoSize = True
            Me.Label89.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label89.Location = New System.Drawing.Point(27, 16)
            Me.Label89.Name = "Label89"
            Me.Label89.Size = New System.Drawing.Size(158, 13)
            Me.Label89.TabIndex = 50
            Me.Label89.Text = "Keep Settings History (Emulator)"
            '
            'EmuProfTB
            '
            Me.EmuProfTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.EmuProfTB.Location = New System.Drawing.Point(82, 59)
            Me.EmuProfTB.Name = "EmuProfTB"
            Me.EmuProfTB.ReadOnly = True
            Me.EmuProfTB.Size = New System.Drawing.Size(112, 20)
            Me.EmuProfTB.TabIndex = 49
            '
            'Label51
            '
            Me.Label51.AutoSize = True
            Me.Label51.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label51.Location = New System.Drawing.Point(3, 63)
            Me.Label51.Name = "Label51"
            Me.Label51.Size = New System.Drawing.Size(63, 13)
            Me.Label51.TabIndex = 48
            Me.Label51.Text = "Emu Profile:"
            '
            'EmuOnlyChB
            '
            Me.EmuOnlyChB.AutoSize = True
            Me.EmuOnlyChB.Enabled = False
            Me.EmuOnlyChB.Location = New System.Drawing.Point(6, 39)
            Me.EmuOnlyChB.Name = "EmuOnlyChB"
            Me.EmuOnlyChB.Size = New System.Drawing.Size(15, 14)
            Me.EmuOnlyChB.TabIndex = 47
            Me.EmuOnlyChB.UseVisualStyleBackColor = True
            '
            'GameInSettsHxChB
            '
            Me.GameInSettsHxChB.AutoSize = True
            Me.GameInSettsHxChB.Enabled = False
            Me.GameInSettsHxChB.Location = New System.Drawing.Point(6, 16)
            Me.GameInSettsHxChB.Name = "GameInSettsHxChB"
            Me.GameInSettsHxChB.Size = New System.Drawing.Size(15, 14)
            Me.GameInSettsHxChB.TabIndex = 26
            Me.GameInSettsHxChB.UseVisualStyleBackColor = True
            '
            'GroupBox32
            '
            Me.GroupBox32.BackColor = System.Drawing.Color.Transparent
            Me.GroupBox32.Controls.Add(Me.GameSettsHxChB)
            Me.GroupBox32.Controls.Add(Me.PGAlgoChB)
            Me.GroupBox32.Controls.Add(Me.PGOverrideChB)
            Me.GroupBox32.Location = New System.Drawing.Point(27, 19)
            Me.GroupBox32.Name = "GroupBox32"
            Me.GroupBox32.Size = New System.Drawing.Size(238, 87)
            Me.GroupBox32.TabIndex = 51
            Me.GroupBox32.TabStop = False
            Me.GroupBox32.Text = "Change Inherited"
            '
            'GameSettsHxChB
            '
            Me.GameSettsHxChB.AutoSize = True
            Me.GameSettsHxChB.Location = New System.Drawing.Point(9, 19)
            Me.GameSettsHxChB.Name = "GameSettsHxChB"
            Me.GameSettsHxChB.Size = New System.Drawing.Size(204, 17)
            Me.GameSettsHxChB.TabIndex = 16
            Me.GameSettsHxChB.Text = "Disable Settings History from Emulator" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
            Me.GameSettsHxChB.UseVisualStyleBackColor = True
            '
            'PGAlgoChB
            '
            Me.PGAlgoChB.AutoSize = True
            Me.PGAlgoChB.Location = New System.Drawing.Point(9, 64)
            Me.PGAlgoChB.Name = "PGAlgoChB"
            Me.PGAlgoChB.Size = New System.Drawing.Size(161, 17)
            Me.PGAlgoChB.TabIndex = 46
            Me.PGAlgoChB.Text = "Use Game-specific Algorithm"
            Me.PGAlgoChB.UseVisualStyleBackColor = True
            '
            'PGOverrideChB
            '
            Me.PGOverrideChB.AutoSize = True
            Me.PGOverrideChB.Location = New System.Drawing.Point(9, 42)
            Me.PGOverrideChB.Name = "PGOverrideChB"
            Me.PGOverrideChB.Size = New System.Drawing.Size(214, 17)
            Me.PGOverrideChB.TabIndex = 47
            Me.PGOverrideChB.Text = "Overide Emu - Use game specific profile"
            Me.PGOverrideChB.UseVisualStyleBackColor = True
            '
            'PGSettsProfCB
            '
            Me.PGSettsProfCB.BackColor = System.Drawing.SystemColors.Control
            Me.PGSettsProfCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.PGSettsProfCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.PGSettsProfCB.FormattingEnabled = True
            Me.PGSettsProfCB.Location = New System.Drawing.Point(96, 139)
            Me.PGSettsProfCB.Name = "PGSettsProfCB"
            Me.PGSettsProfCB.Size = New System.Drawing.Size(398, 21)
            Me.PGSettsProfCB.TabIndex = 27
            '
            'Label42
            '
            Me.Label42.AutoSize = True
            Me.Label42.Location = New System.Drawing.Point(5, 139)
            Me.Label42.Name = "Label42"
            Me.Label42.Size = New System.Drawing.Size(80, 13)
            Me.Label42.TabIndex = 26
            Me.Label42.Text = "Settings Profile:"
            '
            'PGSettsAlgCB
            '
            Me.PGSettsAlgCB.BackColor = System.Drawing.SystemColors.Control
            Me.PGSettsAlgCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.PGSettsAlgCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.PGSettsAlgCB.FormattingEnabled = True
            Me.PGSettsAlgCB.Location = New System.Drawing.Point(96, 112)
            Me.PGSettsAlgCB.Name = "PGSettsAlgCB"
            Me.PGSettsAlgCB.Size = New System.Drawing.Size(398, 21)
            Me.PGSettsAlgCB.TabIndex = 25
            '
            'Label43
            '
            Me.Label43.AutoSize = True
            Me.Label43.Location = New System.Drawing.Point(5, 112)
            Me.Label43.Name = "Label43"
            Me.Label43.Size = New System.Drawing.Size(75, 13)
            Me.Label43.TabIndex = 24
            Me.Label43.Text = "Use Algorithm:"
            '
            'GameProfileGB
            '
            Me.GameProfileGB.Controls.Add(Me.GameCustom2)
            Me.GameProfileGB.Controls.Add(Me.Label53)
            Me.GameProfileGB.Controls.Add(Me.GameCustom1)
            Me.GameProfileGB.Controls.Add(Me.Def4gameChB)
            Me.GameProfileGB.Controls.Add(Me.Label22)
            Me.GameProfileGB.Controls.Add(Me.GameGENameTB)
            Me.GameProfileGB.Controls.Add(Me.ForGameGB)
            Me.GameProfileGB.Controls.Add(Me.GroupBox20)
            Me.GameProfileGB.Controls.Add(Me.Label27)
            Me.GameProfileGB.Controls.Add(Me.GameCmdTB)
            Me.GameProfileGB.Controls.Add(Me.Label3)
            Me.GameProfileGB.Controls.Add(Me.Button6)
            Me.GameProfileGB.Controls.Add(Me.GameID)
            Me.GameProfileGB.Controls.Add(Me.GameRomFileBT)
            Me.GameProfileGB.Controls.Add(Me.GameRomFileTB)
            Me.GameProfileGB.Controls.Add(Me.Label26)
            Me.GameProfileGB.Controls.Add(Me.GameEmuSetupCB)
            Me.GameProfileGB.Controls.Add(Me.Label28)
            Me.GameProfileGB.Controls.Add(Me.GameEditNameTB)
            Me.GameProfileGB.Controls.Add(Me.Label29)
            Me.GameProfileGB.Location = New System.Drawing.Point(6, 54)
            Me.GameProfileGB.Name = "GameProfileGB"
            Me.GameProfileGB.Size = New System.Drawing.Size(500, 367)
            Me.GameProfileGB.TabIndex = 45
            Me.GameProfileGB.TabStop = False
            Me.GameProfileGB.Text = "Game Profile"
            '
            'GameCustom2
            '
            Me.GameCustom2.Location = New System.Drawing.Point(96, 149)
            Me.GameCustom2.Name = "GameCustom2"
            Me.GameCustom2.Size = New System.Drawing.Size(398, 20)
            Me.GameCustom2.TabIndex = 50
            '
            'GameCustom1
            '
            Me.GameCustom1.Location = New System.Drawing.Point(96, 123)
            Me.GameCustom1.Name = "GameCustom1"
            Me.GameCustom1.Size = New System.Drawing.Size(398, 20)
            Me.GameCustom1.TabIndex = 48
            '
            'GameGENameTB
            '
            Me.GameGENameTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GameGENameTB.Location = New System.Drawing.Point(96, 175)
            Me.GameGENameTB.Name = "GameGENameTB"
            Me.GameGENameTB.ReadOnly = True
            Me.GameGENameTB.Size = New System.Drawing.Size(398, 20)
            Me.GameGENameTB.TabIndex = 8
            '
            'ForGameGB
            '
            Me.ForGameGB.BackColor = System.Drawing.Color.Transparent
            Me.ForGameGB.Controls.Add(Me.Label34)
            Me.ForGameGB.Controls.Add(Me.SupKeyMapChB)
            Me.ForGameGB.Controls.Add(Me.SupSuppAppsChB)
            Me.ForGameGB.Controls.Add(Me.GameQLaunchPrompt)
            Me.ForGameGB.Controls.Add(Me.GameMountChB)
            Me.ForGameGB.Location = New System.Drawing.Point(31, 232)
            Me.ForGameGB.Name = "ForGameGB"
            Me.ForGameGB.Size = New System.Drawing.Size(256, 124)
            Me.ForGameGB.TabIndex = 45
            Me.ForGameGB.TabStop = False
            Me.ForGameGB.Text = "For this Game:"
            '
            'Label34
            '
            Me.Label34.AutoSize = True
            Me.Label34.Location = New System.Drawing.Point(6, 22)
            Me.Label34.Name = "Label34"
            Me.Label34.Size = New System.Drawing.Size(70, 13)
            Me.Label34.TabIndex = 22
            Me.Label34.Text = "Quicklaunch:"
            '
            'SupKeyMapChB
            '
            Me.SupKeyMapChB.AutoSize = True
            Me.SupKeyMapChB.Location = New System.Drawing.Point(9, 96)
            Me.SupKeyMapChB.Name = "SupKeyMapChB"
            Me.SupKeyMapChB.Size = New System.Drawing.Size(194, 17)
            Me.SupKeyMapChB.TabIndex = 16
            Me.SupKeyMapChB.Text = "Supress Keys Remap from Emulator" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
            Me.SupKeyMapChB.UseVisualStyleBackColor = True
            '
            'SupSuppAppsChB
            '
            Me.SupSuppAppsChB.AutoSize = True
            Me.SupSuppAppsChB.Location = New System.Drawing.Point(9, 73)
            Me.SupSuppAppsChB.Name = "SupSuppAppsChB"
            Me.SupSuppAppsChB.Size = New System.Drawing.Size(217, 17)
            Me.SupSuppAppsChB.TabIndex = 15
            Me.SupSuppAppsChB.Text = "Supress Support Apps from System/Emu"
            Me.SupSuppAppsChB.UseVisualStyleBackColor = True
            '
            'GameMountChB
            '
            Me.GameMountChB.AutoSize = True
            Me.GameMountChB.Location = New System.Drawing.Point(9, 50)
            Me.GameMountChB.Name = "GameMountChB"
            Me.GameMountChB.Size = New System.Drawing.Size(193, 17)
            Me.GameMountChB.TabIndex = 15
            Me.GameMountChB.Text = "Disable Mount Image from Emulator" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
            Me.GameMountChB.UseVisualStyleBackColor = True
            '
            'GroupBox20
            '
            Me.GroupBox20.Controls.Add(Me.Label88)
            Me.GroupBox20.Controls.Add(Me.NoRemapsTB)
            Me.GroupBox20.Controls.Add(Me.NoAppsTB)
            Me.GroupBox20.Controls.Add(Me.Label50)
            Me.GroupBox20.Controls.Add(Me.Label49)
            Me.GroupBox20.Controls.Add(Me.Label35)
            Me.GroupBox20.Controls.Add(Me.GameInPromptCB)
            Me.GroupBox20.Controls.Add(Me.GameInMountChB)
            Me.GroupBox20.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.GroupBox20.Location = New System.Drawing.Point(293, 232)
            Me.GroupBox20.Name = "GroupBox20"
            Me.GroupBox20.Size = New System.Drawing.Size(200, 124)
            Me.GroupBox20.TabIndex = 44
            Me.GroupBox20.TabStop = False
            Me.GroupBox20.Text = "From System + Emulator"
            '
            'Label88
            '
            Me.Label88.AutoSize = True
            Me.Label88.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label88.Location = New System.Drawing.Point(30, 50)
            Me.Label88.Name = "Label88"
            Me.Label88.Size = New System.Drawing.Size(119, 13)
            Me.Label88.TabIndex = 32
            Me.Label88.Text = "Mount Image (Emulator)"
            '
            'NoRemapsTB
            '
            Me.NoRemapsTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.NoRemapsTB.ForeColor = System.Drawing.SystemColors.Control
            Me.NoRemapsTB.Location = New System.Drawing.Point(87, 93)
            Me.NoRemapsTB.Name = "NoRemapsTB"
            Me.NoRemapsTB.ReadOnly = True
            Me.NoRemapsTB.Size = New System.Drawing.Size(50, 20)
            Me.NoRemapsTB.TabIndex = 31
            '
            'NoAppsTB
            '
            Me.NoAppsTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.NoAppsTB.ForeColor = System.Drawing.SystemColors.Control
            Me.NoAppsTB.Location = New System.Drawing.Point(87, 70)
            Me.NoAppsTB.Name = "NoAppsTB"
            Me.NoAppsTB.ReadOnly = True
            Me.NoAppsTB.Size = New System.Drawing.Size(50, 20)
            Me.NoAppsTB.TabIndex = 30
            '
            'Label50
            '
            Me.Label50.AutoSize = True
            Me.Label50.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label50.Location = New System.Drawing.Point(6, 97)
            Me.Label50.Name = "Label50"
            Me.Label50.Size = New System.Drawing.Size(72, 13)
            Me.Label50.TabIndex = 29
            Me.Label50.Text = "No. Remaps: "
            '
            'Label49
            '
            Me.Label49.AutoSize = True
            Me.Label49.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label49.Location = New System.Drawing.Point(6, 74)
            Me.Label49.Name = "Label49"
            Me.Label49.Size = New System.Drawing.Size(57, 13)
            Me.Label49.TabIndex = 28
            Me.Label49.Text = "No. Apps: "
            '
            'Label35
            '
            Me.Label35.AutoSize = True
            Me.Label35.ForeColor = System.Drawing.SystemColors.ControlDarkDark
            Me.Label35.Location = New System.Drawing.Point(8, 22)
            Me.Label35.Name = "Label35"
            Me.Label35.Size = New System.Drawing.Size(70, 13)
            Me.Label35.TabIndex = 27
            Me.Label35.Tag = "ReadOnly"
            Me.Label35.Text = "Quicklaunch:" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
            '
            'GameInPromptCB
            '
            Me.GameInPromptCB.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
            Me.GameInPromptCB.BackColor = System.Drawing.SystemColors.Control
            Me.GameInPromptCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.GameInPromptCB.Enabled = False
            Me.GameInPromptCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.GameInPromptCB.ForeColor = System.Drawing.SystemColors.Control
            Me.GameInPromptCB.FormattingEnabled = True
            Me.GameInPromptCB.Location = New System.Drawing.Point(87, 19)
            Me.GameInPromptCB.Name = "GameInPromptCB"
            Me.GameInPromptCB.Size = New System.Drawing.Size(105, 21)
            Me.GameInPromptCB.TabIndex = 25
            '
            'GameInMountChB
            '
            Me.GameInMountChB.AutoSize = True
            Me.GameInMountChB.Enabled = False
            Me.GameInMountChB.Location = New System.Drawing.Point(9, 50)
            Me.GameInMountChB.Name = "GameInMountChB"
            Me.GameInMountChB.Size = New System.Drawing.Size(15, 14)
            Me.GameInMountChB.TabIndex = 24
            Me.GameInMountChB.UseVisualStyleBackColor = True
            '
            'GameCmdTB
            '
            Me.GameCmdTB.Location = New System.Drawing.Point(96, 97)
            Me.GameCmdTB.Name = "GameCmdTB"
            Me.GameCmdTB.Size = New System.Drawing.Size(398, 20)
            Me.GameCmdTB.TabIndex = 13
            '
            'Button6
            '
            Me.Button6.Location = New System.Drawing.Point(452, 18)
            Me.Button6.Name = "Button6"
            Me.Button6.Size = New System.Drawing.Size(41, 20)
            Me.Button6.TabIndex = 41
            Me.Button6.Text = "Auto"
            Me.Button6.UseVisualStyleBackColor = True
            '
            'GameID
            '
            Me.GameID.Enabled = False
            Me.GameID.Location = New System.Drawing.Point(469, 206)
            Me.GameID.Name = "GameID"
            Me.GameID.ReadOnly = True
            Me.GameID.Size = New System.Drawing.Size(25, 20)
            Me.GameID.TabIndex = 40
            Me.GameID.Text = "-1"
            '
            'GameRomFileBT
            '
            Me.GameRomFileBT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.GameRomFileBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.GameRomFileBT.Location = New System.Drawing.Point(96, 71)
            Me.GameRomFileBT.Name = "GameRomFileBT"
            Me.GameRomFileBT.Size = New System.Drawing.Size(30, 20)
            Me.GameRomFileBT.TabIndex = 10
            Me.GameRomFileBT.UseVisualStyleBackColor = True
            '
            'GameRomFileTB
            '
            Me.GameRomFileTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GameRomFileTB.Location = New System.Drawing.Point(132, 71)
            Me.GameRomFileTB.Name = "GameRomFileTB"
            Me.GameRomFileTB.ReadOnly = True
            Me.GameRomFileTB.Size = New System.Drawing.Size(362, 20)
            Me.GameRomFileTB.TabIndex = 14
            '
            'GameEmuSetupCB
            '
            Me.GameEmuSetupCB.BackColor = System.Drawing.SystemColors.Control
            Me.GameEmuSetupCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.GameEmuSetupCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.GameEmuSetupCB.FormattingEnabled = True
            Me.GameEmuSetupCB.Location = New System.Drawing.Point(96, 44)
            Me.GameEmuSetupCB.Name = "GameEmuSetupCB"
            Me.GameEmuSetupCB.Size = New System.Drawing.Size(398, 21)
            Me.GameEmuSetupCB.TabIndex = 12
            '
            'GameEditNameTB
            '
            Me.GameEditNameTB.Location = New System.Drawing.Point(96, 18)
            Me.GameEditNameTB.Name = "GameEditNameTB"
            Me.GameEditNameTB.Size = New System.Drawing.Size(350, 20)
            Me.GameEditNameTB.TabIndex = 7
            '
            'EmuSettsTab
            '
            Me.EmuSettsTab.Controls.Add(Me.SplitContainer5)
            Me.EmuSettsTab.Location = New System.Drawing.Point(4, 28)
            Me.EmuSettsTab.Name = "EmuSettsTab"
            Me.EmuSettsTab.Size = New System.Drawing.Size(1135, 701)
            Me.EmuSettsTab.TabIndex = 8
            Me.EmuSettsTab.Text = "Algorithms"
            Me.EmuSettsTab.UseVisualStyleBackColor = True
            '
            'SplitContainer5
            '
            Me.SplitContainer5.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitContainer5.Location = New System.Drawing.Point(0, 0)
            Me.SplitContainer5.Name = "SplitContainer5"
            '
            'SplitContainer5.Panel1
            '
            Me.SplitContainer5.Panel1.Controls.Add(Me.TableLayoutPanel2)
            '
            'SplitContainer5.Panel2
            '
            Me.SplitContainer5.Panel2.Controls.Add(Me.SplitContainer6)
            Me.SplitContainer5.Size = New System.Drawing.Size(1135, 701)
            Me.SplitContainer5.SplitterDistance = 245
            Me.SplitContainer5.TabIndex = 0
            '
            'TableLayoutPanel2
            '
            Me.TableLayoutPanel2.ColumnCount = 1
            Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle())
            Me.TableLayoutPanel2.Controls.Add(Me.tvRegistryKeys, 0, 3)
            Me.TableLayoutPanel2.Controls.Add(Me.GroupBox36, 0, 0)
            Me.TableLayoutPanel2.Controls.Add(Me.lblKeys, 0, 2)
            Me.TableLayoutPanel2.Controls.Add(Me.GroupBox10, 0, 1)
            Me.TableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel2.Location = New System.Drawing.Point(0, 0)
            Me.TableLayoutPanel2.Name = "TableLayoutPanel2"
            Me.TableLayoutPanel2.RowCount = 4
            Me.TableLayoutPanel2.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel2.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel2.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel2.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel2.Size = New System.Drawing.Size(245, 701)
            Me.TableLayoutPanel2.TabIndex = 0
            '
            'tvRegistryKeys
            '
            Me.tvRegistryKeys.Dock = System.Windows.Forms.DockStyle.Fill
            Me.tvRegistryKeys.Location = New System.Drawing.Point(3, 228)
            Me.tvRegistryKeys.Name = "tvRegistryKeys"
            Me.tvRegistryKeys.Size = New System.Drawing.Size(240, 484)
            Me.tvRegistryKeys.TabIndex = 4
            '
            'GroupBox36
            '
            Me.GroupBox36.AutoSize = True
            Me.GroupBox36.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
            Me.GroupBox36.Controls.Add(Me.Button8)
            Me.GroupBox36.Controls.Add(Me.UpdateAlgosBT)
            Me.GroupBox36.Controls.Add(Me.ImportSetts)
            Me.GroupBox36.Controls.Add(Me.Blurble)
            Me.GroupBox36.Controls.Add(Me.ExportSetts)
            Me.GroupBox36.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox36.Location = New System.Drawing.Point(3, 3)
            Me.GroupBox36.Name = "GroupBox36"
            Me.GroupBox36.Size = New System.Drawing.Size(240, 87)
            Me.GroupBox36.TabIndex = 7
            Me.GroupBox36.TabStop = False
            Me.GroupBox36.Text = "Emulator Settings Algorithms"
            '
            'ImportSetts
            '
            Me.ImportSetts.Location = New System.Drawing.Point(52, 45)
            Me.ImportSetts.Name = "ImportSetts"
            Me.ImportSetts.Size = New System.Drawing.Size(50, 23)
            Me.ImportSetts.TabIndex = 16
            Me.ImportSetts.Text = "Import"
            Me.ImportSetts.UseVisualStyleBackColor = True
            '
            'Blurble
            '
            Me.Blurble.Enabled = False
            Me.Blurble.Location = New System.Drawing.Point(6, 19)
            Me.Blurble.Name = "Blurble"
            Me.Blurble.Size = New System.Drawing.Size(203, 20)
            Me.Blurble.TabIndex = 6
            '
            'ExportSetts
            '
            Me.ExportSetts.Location = New System.Drawing.Point(6, 45)
            Me.ExportSetts.Name = "ExportSetts"
            Me.ExportSetts.Size = New System.Drawing.Size(45, 23)
            Me.ExportSetts.TabIndex = 1
            Me.ExportSetts.Text = "Export"
            Me.ExportSetts.UseVisualStyleBackColor = True
            '
            'lblKeys
            '
            Me.lblKeys.AutoSize = True
            Me.lblKeys.Location = New System.Drawing.Point(3, 212)
            Me.lblKeys.Name = "lblKeys"
            Me.lblKeys.Size = New System.Drawing.Size(30, 13)
            Me.lblKeys.TabIndex = 8
            Me.lblKeys.Text = "Keys"
            '
            'GroupBox10
            '
            Me.GroupBox10.Controls.Add(Me.rbHKEY_CURRENT_USER)
            Me.GroupBox10.Controls.Add(Me.rbHKEY_LOCAL_MACHINE)
            Me.GroupBox10.Controls.Add(Me.rbHKEY_USERS)
            Me.GroupBox10.Controls.Add(Me.rbHKEY_CURRENT_CONFIG)
            Me.GroupBox10.Controls.Add(Me.rbHKEY_CLASSES_ROOT)
            Me.GroupBox10.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox10.Location = New System.Drawing.Point(3, 96)
            Me.GroupBox10.Name = "GroupBox10"
            Me.GroupBox10.Size = New System.Drawing.Size(240, 113)
            Me.GroupBox10.TabIndex = 0
            Me.GroupBox10.TabStop = False
            Me.GroupBox10.Text = "KeySet"
            '
            'rbHKEY_CURRENT_USER
            '
            Me.rbHKEY_CURRENT_USER.Location = New System.Drawing.Point(6, 35)
            Me.rbHKEY_CURRENT_USER.Name = "rbHKEY_CURRENT_USER"
            Me.rbHKEY_CURRENT_USER.Size = New System.Drawing.Size(184, 16)
            Me.rbHKEY_CURRENT_USER.TabIndex = 14
            Me.rbHKEY_CURRENT_USER.Text = "HKEY_CURRENT_USER"
            '
            'rbHKEY_LOCAL_MACHINE
            '
            Me.rbHKEY_LOCAL_MACHINE.Location = New System.Drawing.Point(6, 51)
            Me.rbHKEY_LOCAL_MACHINE.Name = "rbHKEY_LOCAL_MACHINE"
            Me.rbHKEY_LOCAL_MACHINE.Size = New System.Drawing.Size(184, 16)
            Me.rbHKEY_LOCAL_MACHINE.TabIndex = 13
            Me.rbHKEY_LOCAL_MACHINE.Text = "HKEY_LOCAL_MACHINE"
            '
            'rbHKEY_USERS
            '
            Me.rbHKEY_USERS.Location = New System.Drawing.Point(6, 67)
            Me.rbHKEY_USERS.Name = "rbHKEY_USERS"
            Me.rbHKEY_USERS.Size = New System.Drawing.Size(184, 16)
            Me.rbHKEY_USERS.TabIndex = 12
            Me.rbHKEY_USERS.Text = "HKEY_USERS"
            '
            'rbHKEY_CURRENT_CONFIG
            '
            Me.rbHKEY_CURRENT_CONFIG.Checked = True
            Me.rbHKEY_CURRENT_CONFIG.Location = New System.Drawing.Point(6, 83)
            Me.rbHKEY_CURRENT_CONFIG.Name = "rbHKEY_CURRENT_CONFIG"
            Me.rbHKEY_CURRENT_CONFIG.Size = New System.Drawing.Size(184, 16)
            Me.rbHKEY_CURRENT_CONFIG.TabIndex = 11
            Me.rbHKEY_CURRENT_CONFIG.TabStop = True
            Me.rbHKEY_CURRENT_CONFIG.Text = "HKEY_CURRENT_CONFIG"
            '
            'rbHKEY_CLASSES_ROOT
            '
            Me.rbHKEY_CLASSES_ROOT.Location = New System.Drawing.Point(6, 19)
            Me.rbHKEY_CLASSES_ROOT.Name = "rbHKEY_CLASSES_ROOT"
            Me.rbHKEY_CLASSES_ROOT.Size = New System.Drawing.Size(184, 16)
            Me.rbHKEY_CLASSES_ROOT.TabIndex = 10
            Me.rbHKEY_CLASSES_ROOT.Text = "HKEY_CLASSES_ROOT"
            '
            'SplitContainer6
            '
            Me.SplitContainer6.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitContainer6.Location = New System.Drawing.Point(0, 0)
            Me.SplitContainer6.Name = "SplitContainer6"
            Me.SplitContainer6.Orientation = System.Windows.Forms.Orientation.Horizontal
            '
            'SplitContainer6.Panel1
            '
            Me.SplitContainer6.Panel1.Controls.Add(Me.TableLayoutPanel5)
            '
            'SplitContainer6.Panel2
            '
            Me.SplitContainer6.Panel2.Controls.Add(Me.SplitContainer7)
            Me.SplitContainer6.Size = New System.Drawing.Size(886, 701)
            Me.SplitContainer6.SplitterDistance = 425
            Me.SplitContainer6.TabIndex = 0
            '
            'TableLayoutPanel5
            '
            Me.TableLayoutPanel5.ColumnCount = 1
            Me.TableLayoutPanel5.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
            Me.TableLayoutPanel5.Controls.Add(Me.lvValues, 0, 1)
            Me.TableLayoutPanel5.Controls.Add(Me.TableLayoutPanel6, 0, 0)
            Me.TableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel5.Location = New System.Drawing.Point(0, 0)
            Me.TableLayoutPanel5.Name = "TableLayoutPanel5"
            Me.TableLayoutPanel5.RowCount = 2
            Me.TableLayoutPanel5.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 17.23301!))
            Me.TableLayoutPanel5.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 82.76699!))
            Me.TableLayoutPanel5.Size = New System.Drawing.Size(886, 425)
            Me.TableLayoutPanel5.TabIndex = 0
            '
            'lvValues
            '
            Me.lvValues.Dock = System.Windows.Forms.DockStyle.Fill
            Me.lvValues.FullRowSelect = True
            Me.lvValues.Location = New System.Drawing.Point(3, 76)
            Me.lvValues.MultiSelect = False
            Me.lvValues.Name = "lvValues"
            Me.lvValues.Size = New System.Drawing.Size(880, 346)
            Me.lvValues.Sorting = System.Windows.Forms.SortOrder.Ascending
            Me.lvValues.TabIndex = 5
            Me.lvValues.UseCompatibleStateImageBehavior = False
            Me.lvValues.View = System.Windows.Forms.View.Details
            '
            'TableLayoutPanel6
            '
            Me.TableLayoutPanel6.ColumnCount = 2
            Me.TableLayoutPanel6.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 87.5895!))
            Me.TableLayoutPanel6.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.4105!))
            Me.TableLayoutPanel6.Controls.Add(Me.PictureBox2, 1, 0)
            Me.TableLayoutPanel6.Controls.Add(Me.lblValues, 0, 0)
            Me.TableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel6.Location = New System.Drawing.Point(3, 3)
            Me.TableLayoutPanel6.Name = "TableLayoutPanel6"
            Me.TableLayoutPanel6.RowCount = 1
            Me.TableLayoutPanel6.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
            Me.TableLayoutPanel6.Size = New System.Drawing.Size(880, 67)
            Me.TableLayoutPanel6.TabIndex = 6
            '
            'PictureBox2
            '
            Me.PictureBox2.BackgroundImage = Global.My.Resources.Resources.Advanced
            Me.PictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PictureBox2.Dock = System.Windows.Forms.DockStyle.Fill
            Me.PictureBox2.Location = New System.Drawing.Point(773, 3)
            Me.PictureBox2.Name = "PictureBox2"
            Me.PictureBox2.Size = New System.Drawing.Size(104, 61)
            Me.PictureBox2.TabIndex = 7
            Me.PictureBox2.TabStop = False
            '
            'lblValues
            '
            Me.lblValues.Dock = System.Windows.Forms.DockStyle.Fill
            Me.lblValues.ForeColor = System.Drawing.Color.OrangeRed
            Me.lblValues.Location = New System.Drawing.Point(3, 0)
            Me.lblValues.Name = "lblValues"
            Me.lblValues.Padding = New System.Windows.Forms.Padding(5)
            Me.lblValues.Size = New System.Drawing.Size(764, 67)
            Me.lblValues.TabIndex = 6
            Me.lblValues.Text = resources.GetString("lblValues.Text")
            Me.lblValues.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
            '
            'SplitContainer7
            '
            Me.SplitContainer7.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SplitContainer7.Location = New System.Drawing.Point(0, 0)
            Me.SplitContainer7.Name = "SplitContainer7"
            '
            'SplitContainer7.Panel1
            '
            Me.SplitContainer7.Panel1.Controls.Add(Me.TableLayoutPanel8)
            '
            'SplitContainer7.Panel2
            '
            Me.SplitContainer7.Panel2.Controls.Add(Me.TableLayoutPanel7)
            Me.SplitContainer7.Size = New System.Drawing.Size(886, 272)
            Me.SplitContainer7.SplitterDistance = 350
            Me.SplitContainer7.TabIndex = 0
            '
            'TableLayoutPanel8
            '
            Me.TableLayoutPanel8.ColumnCount = 1
            Me.TableLayoutPanel8.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel8.Controls.Add(Me.GroupBox22, 0, 1)
            Me.TableLayoutPanel8.Controls.Add(Me.EmuSettsDGV, 0, 0)
            Me.TableLayoutPanel8.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel8.Location = New System.Drawing.Point(0, 0)
            Me.TableLayoutPanel8.Name = "TableLayoutPanel8"
            Me.TableLayoutPanel8.RowCount = 2
            Me.TableLayoutPanel8.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel8.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel8.Size = New System.Drawing.Size(350, 272)
            Me.TableLayoutPanel8.TabIndex = 1
            '
            'GroupBox22
            '
            Me.GroupBox22.Controls.Add(Me.EmuSettsTypeCB)
            Me.GroupBox22.Controls.Add(Me.EmuSettsIDTB)
            Me.GroupBox22.Controls.Add(Me.NewEmuBT)
            Me.GroupBox22.Controls.Add(Me.NewGameBT)
            Me.GroupBox22.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox22.Location = New System.Drawing.Point(3, 231)
            Me.GroupBox22.Name = "GroupBox22"
            Me.GroupBox22.Size = New System.Drawing.Size(344, 38)
            Me.GroupBox22.TabIndex = 2
            Me.GroupBox22.TabStop = False
            '
            'EmuSettsTypeCB
            '
            Me.EmuSettsTypeCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.EmuSettsTypeCB.FormattingEnabled = True
            Me.EmuSettsTypeCB.Items.AddRange(New Object() {"Emulator", "Game", "All"})
            Me.EmuSettsTypeCB.Location = New System.Drawing.Point(6, 12)
            Me.EmuSettsTypeCB.Name = "EmuSettsTypeCB"
            Me.EmuSettsTypeCB.Size = New System.Drawing.Size(78, 21)
            Me.EmuSettsTypeCB.TabIndex = 2
            '
            'EmuSettsIDTB
            '
            Me.EmuSettsIDTB.Location = New System.Drawing.Point(289, 13)
            Me.EmuSettsIDTB.Name = "EmuSettsIDTB"
            Me.EmuSettsIDTB.Size = New System.Drawing.Size(38, 20)
            Me.EmuSettsIDTB.TabIndex = 3
            Me.EmuSettsIDTB.Visible = False
            '
            'NewEmuBT
            '
            Me.NewEmuBT.Location = New System.Drawing.Point(171, 11)
            Me.NewEmuBT.Name = "NewEmuBT"
            Me.NewEmuBT.Size = New System.Drawing.Size(75, 23)
            Me.NewEmuBT.TabIndex = 1
            Me.NewEmuBT.Text = "New Emu"
            Me.NewEmuBT.UseVisualStyleBackColor = True
            '
            'NewGameBT
            '
            Me.NewGameBT.Location = New System.Drawing.Point(90, 11)
            Me.NewGameBT.Name = "NewGameBT"
            Me.NewGameBT.Size = New System.Drawing.Size(75, 23)
            Me.NewGameBT.TabIndex = 0
            Me.NewGameBT.Text = "New Game"
            Me.NewGameBT.UseVisualStyleBackColor = True
            '
            'EmuSettsDGV
            '
            Me.EmuSettsDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.EmuSettsDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.EmuSettsDGV.EnableHeadersVisualStyles = False
            Me.EmuSettsDGV.Location = New System.Drawing.Point(3, 3)
            Me.EmuSettsDGV.Name = "EmuSettsDGV"
            Me.EmuSettsDGV.Size = New System.Drawing.Size(344, 222)
            Me.EmuSettsDGV.TabIndex = 0
            '
            'TableLayoutPanel7
            '
            Me.TableLayoutPanel7.ColumnCount = 1
            Me.TableLayoutPanel7.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel7.Controls.Add(Me.EmuSettsItemsDGV, 0, 0)
            Me.TableLayoutPanel7.Controls.Add(Me.AlgSettsEdit, 0, 1)
            Me.TableLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel7.Location = New System.Drawing.Point(0, 0)
            Me.TableLayoutPanel7.Name = "TableLayoutPanel7"
            Me.TableLayoutPanel7.RowCount = 2
            Me.TableLayoutPanel7.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel7.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel7.Size = New System.Drawing.Size(532, 272)
            Me.TableLayoutPanel7.TabIndex = 1
            '
            'EmuSettsItemsDGV
            '
            Me.EmuSettsItemsDGV.AllowUserToAddRows = False
            Me.EmuSettsItemsDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.EmuSettsItemsDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.EmuSettsItemsDGV.EnableHeadersVisualStyles = False
            Me.EmuSettsItemsDGV.Location = New System.Drawing.Point(3, 3)
            Me.EmuSettsItemsDGV.Name = "EmuSettsItemsDGV"
            Me.EmuSettsItemsDGV.Size = New System.Drawing.Size(526, 222)
            Me.EmuSettsItemsDGV.TabIndex = 0
            '
            'AlgSettsEdit
            '
            Me.AlgSettsEdit.Controls.Add(Me.btnSelectValue)
            Me.AlgSettsEdit.Controls.Add(Me.btnSelectKey)
            Me.AlgSettsEdit.Controls.Add(Me.EmuSettsFolderBT)
            Me.AlgSettsEdit.Controls.Add(Me.EmuSettsFileBT)
            Me.AlgSettsEdit.Dock = System.Windows.Forms.DockStyle.Fill
            Me.AlgSettsEdit.Location = New System.Drawing.Point(3, 231)
            Me.AlgSettsEdit.Name = "AlgSettsEdit"
            Me.AlgSettsEdit.Size = New System.Drawing.Size(526, 38)
            Me.AlgSettsEdit.TabIndex = 1
            Me.AlgSettsEdit.TabStop = False
            '
            'btnSelectValue
            '
            Me.btnSelectValue.Location = New System.Drawing.Point(266, 10)
            Me.btnSelectValue.Name = "btnSelectValue"
            Me.btnSelectValue.Size = New System.Drawing.Size(96, 23)
            Me.btnSelectValue.TabIndex = 8
            Me.btnSelectValue.Text = "Add Reg Value"
            Me.btnSelectValue.UseVisualStyleBackColor = True
            '
            'btnSelectKey
            '
            Me.btnSelectKey.Location = New System.Drawing.Point(168, 10)
            Me.btnSelectKey.Name = "btnSelectKey"
            Me.btnSelectKey.Size = New System.Drawing.Size(92, 23)
            Me.btnSelectKey.TabIndex = 15
            Me.btnSelectKey.Text = "Add Reg Key"
            Me.btnSelectKey.UseVisualStyleBackColor = True
            '
            'EmuSettsFolderBT
            '
            Me.EmuSettsFolderBT.Location = New System.Drawing.Point(87, 10)
            Me.EmuSettsFolderBT.Name = "EmuSettsFolderBT"
            Me.EmuSettsFolderBT.Size = New System.Drawing.Size(75, 23)
            Me.EmuSettsFolderBT.TabIndex = 1
            Me.EmuSettsFolderBT.Text = "Add Folder"
            Me.EmuSettsFolderBT.UseVisualStyleBackColor = True
            '
            'EmuSettsFileBT
            '
            Me.EmuSettsFileBT.Location = New System.Drawing.Point(6, 10)
            Me.EmuSettsFileBT.Name = "EmuSettsFileBT"
            Me.EmuSettsFileBT.Size = New System.Drawing.Size(75, 23)
            Me.EmuSettsFileBT.TabIndex = 0
            Me.EmuSettsFileBT.Text = "Add File"
            Me.EmuSettsFileBT.UseVisualStyleBackColor = True
            '
            'AdditionalTab
            '
            Me.AdditionalTab.Controls.Add(Me.TableLayoutPanel3)
            Me.AdditionalTab.Location = New System.Drawing.Point(4, 28)
            Me.AdditionalTab.Name = "AdditionalTab"
            Me.AdditionalTab.Size = New System.Drawing.Size(1135, 701)
            Me.AdditionalTab.TabIndex = 5
            Me.AdditionalTab.Text = "Apps/Drives"
            Me.AdditionalTab.UseVisualStyleBackColor = True
            '
            'TableLayoutPanel3
            '
            Me.TableLayoutPanel3.ColumnCount = 1
            Me.TableLayoutPanel3.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel3.Controls.Add(Me.GroupBox8, 0, 0)
            Me.TableLayoutPanel3.Controls.Add(Me.GroupBox13, 0, 1)
            Me.TableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel3.Location = New System.Drawing.Point(0, 0)
            Me.TableLayoutPanel3.Name = "TableLayoutPanel3"
            Me.TableLayoutPanel3.RowCount = 2
            Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
            Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
            Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20.0!))
            Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20.0!))
            Me.TableLayoutPanel3.Size = New System.Drawing.Size(1135, 701)
            Me.TableLayoutPanel3.TabIndex = 0
            '
            'GroupBox8
            '
            Me.GroupBox8.Controls.Add(Me.TableLayoutPanel10)
            Me.GroupBox8.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox8.Location = New System.Drawing.Point(3, 3)
            Me.GroupBox8.Name = "GroupBox8"
            Me.GroupBox8.Size = New System.Drawing.Size(1129, 344)
            Me.GroupBox8.TabIndex = 0
            Me.GroupBox8.TabStop = False
            Me.GroupBox8.Text = "Support Apps"
            '
            'TableLayoutPanel10
            '
            Me.TableLayoutPanel10.ColumnCount = 2
            Me.TableLayoutPanel10.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle())
            Me.TableLayoutPanel10.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel10.Controls.Add(Me.SupportDGV, 1, 0)
            Me.TableLayoutPanel10.Controls.Add(Me.DelSuppAppBT, 0, 0)
            Me.TableLayoutPanel10.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel10.Location = New System.Drawing.Point(3, 16)
            Me.TableLayoutPanel10.Name = "TableLayoutPanel10"
            Me.TableLayoutPanel10.RowCount = 1
            Me.TableLayoutPanel10.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel10.Size = New System.Drawing.Size(1123, 325)
            Me.TableLayoutPanel10.TabIndex = 1
            '
            'SupportDGV
            '
            Me.SupportDGV.AllowUserToDeleteRows = False
            Me.SupportDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.SupportDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SupportDGV.EnableHeadersVisualStyles = False
            Me.SupportDGV.Location = New System.Drawing.Point(84, 3)
            Me.SupportDGV.Name = "SupportDGV"
            Me.SupportDGV.Size = New System.Drawing.Size(1036, 319)
            Me.SupportDGV.TabIndex = 0
            '
            'DelSuppAppBT
            '
            Me.DelSuppAppBT.Location = New System.Drawing.Point(3, 3)
            Me.DelSuppAppBT.Name = "DelSuppAppBT"
            Me.DelSuppAppBT.Size = New System.Drawing.Size(75, 23)
            Me.DelSuppAppBT.TabIndex = 1
            Me.DelSuppAppBT.Text = "Delete"
            Me.DelSuppAppBT.UseVisualStyleBackColor = True
            '
            'GroupBox13
            '
            Me.GroupBox13.Controls.Add(Me.VirtDrivesDGV)
            Me.GroupBox13.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox13.Location = New System.Drawing.Point(3, 353)
            Me.GroupBox13.Name = "GroupBox13"
            Me.GroupBox13.Size = New System.Drawing.Size(1129, 345)
            Me.GroupBox13.TabIndex = 1
            Me.GroupBox13.TabStop = False
            Me.GroupBox13.Text = "Virtual Drives"
            '
            'VirtDrivesDGV
            '
            Me.VirtDrivesDGV.AllowUserToDeleteRows = False
            Me.VirtDrivesDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.VirtDrivesDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.VirtDrivesDGV.EnableHeadersVisualStyles = False
            Me.VirtDrivesDGV.Location = New System.Drawing.Point(3, 16)
            Me.VirtDrivesDGV.Name = "VirtDrivesDGV"
            Me.VirtDrivesDGV.Size = New System.Drawing.Size(1123, 326)
            Me.VirtDrivesDGV.TabIndex = 1
            '
            'ListsTab
            '
            Me.ListsTab.Controls.Add(Me.Panel4)
            Me.ListsTab.Location = New System.Drawing.Point(4, 28)
            Me.ListsTab.Name = "ListsTab"
            Me.ListsTab.Padding = New System.Windows.Forms.Padding(3)
            Me.ListsTab.Size = New System.Drawing.Size(1135, 701)
            Me.ListsTab.TabIndex = 2
            Me.ListsTab.Text = "Lists"
            Me.ListsTab.UseVisualStyleBackColor = True
            '
            'Panel4
            '
            Me.Panel4.Controls.Add(Me.TableLayoutPanel1)
            Me.Panel4.Dock = System.Windows.Forms.DockStyle.Fill
            Me.Panel4.Location = New System.Drawing.Point(3, 3)
            Me.Panel4.Name = "Panel4"
            Me.Panel4.Size = New System.Drawing.Size(1129, 695)
            Me.Panel4.TabIndex = 3
            '
            'TableLayoutPanel1
            '
            Me.TableLayoutPanel1.ColumnCount = 4
            Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.0!))
            Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.0!))
            Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.0!))
            Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.0!))
            Me.TableLayoutPanel1.Controls.Add(Me.GroupBox2, 0, 0)
            Me.TableLayoutPanel1.Controls.Add(Me.GroupBox3, 1, 0)
            Me.TableLayoutPanel1.Controls.Add(Me.GroupBox4, 0, 1)
            Me.TableLayoutPanel1.Controls.Add(Me.GroupBox5, 2, 0)
            Me.TableLayoutPanel1.Controls.Add(Me.GroupBox21, 3, 0)
            Me.TableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel1.Location = New System.Drawing.Point(0, 0)
            Me.TableLayoutPanel1.Name = "TableLayoutPanel1"
            Me.TableLayoutPanel1.RowCount = 2
            Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
            Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle())
            Me.TableLayoutPanel1.Size = New System.Drawing.Size(1129, 695)
            Me.TableLayoutPanel1.TabIndex = 2
            '
            'GroupBox2
            '
            Me.GroupBox2.Controls.Add(Me.EmuListDGV)
            Me.GroupBox2.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox2.Location = New System.Drawing.Point(3, 3)
            Me.GroupBox2.Name = "GroupBox2"
            Me.GroupBox2.Size = New System.Drawing.Size(276, 395)
            Me.GroupBox2.TabIndex = 4
            Me.GroupBox2.TabStop = False
            Me.GroupBox2.Text = "Emulators"
            '
            'EmuListDGV
            '
            Me.EmuListDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.EmuListDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.EmuListDGV.EnableHeadersVisualStyles = False
            Me.EmuListDGV.Location = New System.Drawing.Point(3, 16)
            Me.EmuListDGV.Name = "EmuListDGV"
            Me.EmuListDGV.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
            Me.EmuListDGV.ShowRowErrors = False
            Me.EmuListDGV.Size = New System.Drawing.Size(270, 376)
            Me.EmuListDGV.TabIndex = 2
            '
            'GroupBox3
            '
            Me.GroupBox3.Controls.Add(Me.SysListDGV)
            Me.GroupBox3.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox3.Location = New System.Drawing.Point(285, 3)
            Me.GroupBox3.Name = "GroupBox3"
            Me.GroupBox3.Size = New System.Drawing.Size(276, 395)
            Me.GroupBox3.TabIndex = 5
            Me.GroupBox3.TabStop = False
            Me.GroupBox3.Text = "Systems"
            '
            'SysListDGV
            '
            Me.SysListDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.SysListDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.SysListDGV.EnableHeadersVisualStyles = False
            Me.SysListDGV.Location = New System.Drawing.Point(3, 16)
            Me.SysListDGV.Name = "SysListDGV"
            Me.SysListDGV.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
            Me.SysListDGV.Size = New System.Drawing.Size(270, 376)
            Me.SysListDGV.TabIndex = 3
            '
            'GroupBox4
            '
            Me.TableLayoutPanel1.SetColumnSpan(Me.GroupBox4, 3)
            Me.GroupBox4.Controls.Add(Me.UserEmusDGV)
            Me.GroupBox4.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox4.Location = New System.Drawing.Point(3, 404)
            Me.GroupBox4.Name = "GroupBox4"
            Me.GroupBox4.Size = New System.Drawing.Size(840, 288)
            Me.GroupBox4.TabIndex = 6
            Me.GroupBox4.TabStop = False
            Me.GroupBox4.Text = "GameEx Emulators"
            '
            'UserEmusDGV
            '
            Me.UserEmusDGV.AllowUserToAddRows = False
            Me.UserEmusDGV.AllowUserToDeleteRows = False
            Me.UserEmusDGV.AllowUserToOrderColumns = True
            Me.UserEmusDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.UserEmusDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.UserEmusDGV.EnableHeadersVisualStyles = False
            Me.UserEmusDGV.Location = New System.Drawing.Point(3, 16)
            Me.UserEmusDGV.Name = "UserEmusDGV"
            Me.UserEmusDGV.ReadOnly = True
            Me.UserEmusDGV.RowHeadersVisible = False
            Me.UserEmusDGV.Size = New System.Drawing.Size(834, 269)
            Me.UserEmusDGV.TabIndex = 1
            '
            'GroupBox5
            '
            Me.GroupBox5.Controls.Add(Me.FileExtDGV)
            Me.GroupBox5.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox5.Location = New System.Drawing.Point(567, 3)
            Me.GroupBox5.Name = "GroupBox5"
            Me.GroupBox5.Size = New System.Drawing.Size(276, 395)
            Me.GroupBox5.TabIndex = 7
            Me.GroupBox5.TabStop = False
            Me.GroupBox5.Text = "File Extentions"
            '
            'FileExtDGV
            '
            Me.FileExtDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.FileExtDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.FileExtDGV.EnableHeadersVisualStyles = False
            Me.FileExtDGV.Location = New System.Drawing.Point(3, 16)
            Me.FileExtDGV.Name = "FileExtDGV"
            Me.FileExtDGV.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
            Me.FileExtDGV.Size = New System.Drawing.Size(270, 376)
            Me.FileExtDGV.TabIndex = 0
            '
            'GroupBox21
            '
            Me.GroupBox21.Controls.Add(Me.TableLayoutPanel9)
            Me.GroupBox21.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox21.Location = New System.Drawing.Point(849, 3)
            Me.GroupBox21.Name = "GroupBox21"
            Me.TableLayoutPanel1.SetRowSpan(Me.GroupBox21, 2)
            Me.GroupBox21.Size = New System.Drawing.Size(277, 689)
            Me.GroupBox21.TabIndex = 8
            Me.GroupBox21.TabStop = False
            Me.GroupBox21.Text = "Keys"
            '
            'TableLayoutPanel9
            '
            Me.TableLayoutPanel9.ColumnCount = 1
            Me.TableLayoutPanel9.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
            Me.TableLayoutPanel9.Controls.Add(Me.KeysDGV, 0, 0)
            Me.TableLayoutPanel9.Controls.Add(Me.GroupBox25, 0, 1)
            Me.TableLayoutPanel9.Dock = System.Windows.Forms.DockStyle.Fill
            Me.TableLayoutPanel9.Location = New System.Drawing.Point(3, 16)
            Me.TableLayoutPanel9.Name = "TableLayoutPanel9"
            Me.TableLayoutPanel9.RowCount = 2
            Me.TableLayoutPanel9.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 93.01242!))
            Me.TableLayoutPanel9.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.987577!))
            Me.TableLayoutPanel9.Size = New System.Drawing.Size(271, 670)
            Me.TableLayoutPanel9.TabIndex = 1
            '
            'KeysDGV
            '
            Me.KeysDGV.AllowUserToAddRows = False
            Me.KeysDGV.AllowUserToDeleteRows = False
            Me.KeysDGV.AllowUserToOrderColumns = True
            Me.KeysDGV.AllowUserToResizeRows = False
            Me.KeysDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.KeysDGV.Dock = System.Windows.Forms.DockStyle.Fill
            Me.KeysDGV.EnableHeadersVisualStyles = False
            Me.KeysDGV.Location = New System.Drawing.Point(3, 3)
            Me.KeysDGV.Name = "KeysDGV"
            Me.KeysDGV.Size = New System.Drawing.Size(265, 617)
            Me.KeysDGV.TabIndex = 0
            '
            'GroupBox25
            '
            Me.GroupBox25.Controls.Add(Me.PrevTBEraseBT)
            Me.GroupBox25.Controls.Add(Me.Label38)
            Me.GroupBox25.Controls.Add(Me.PrevTB)
            Me.GroupBox25.Dock = System.Windows.Forms.DockStyle.Fill
            Me.GroupBox25.Location = New System.Drawing.Point(3, 626)
            Me.GroupBox25.Name = "GroupBox25"
            Me.GroupBox25.Size = New System.Drawing.Size(265, 41)
            Me.GroupBox25.TabIndex = 1
            Me.GroupBox25.TabStop = False
            '
            'PrevTBEraseBT
            '
            Me.PrevTBEraseBT.Anchor = System.Windows.Forms.AnchorStyles.Right
            Me.PrevTBEraseBT.BackgroundImage = Global.My.Resources.Resources.eraser_512
            Me.PrevTBEraseBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.PrevTBEraseBT.Location = New System.Drawing.Point(229, 13)
            Me.PrevTBEraseBT.Name = "PrevTBEraseBT"
            Me.PrevTBEraseBT.Size = New System.Drawing.Size(30, 23)
            Me.PrevTBEraseBT.TabIndex = 27
            Me.PrevTBEraseBT.UseVisualStyleBackColor = True
            '
            'Label38
            '
            Me.Label38.AutoSize = True
            Me.Label38.Location = New System.Drawing.Point(6, 16)
            Me.Label38.Name = "Label38"
            Me.Label38.Size = New System.Drawing.Size(79, 13)
            Me.Label38.TabIndex = 26
            Me.Label38.Text = "Get Key Name:"
            '
            'PrevTB
            '
            Me.PrevTB.Anchor = System.Windows.Forms.AnchorStyles.Right
            Me.PrevTB.Location = New System.Drawing.Point(119, 15)
            Me.PrevTB.Name = "PrevTB"
            Me.PrevTB.Size = New System.Drawing.Size(106, 20)
            Me.PrevTB.TabIndex = 25
            '
            'Camera
            '
            Me.Camera.Controls.Add(Me.GroupBox40)
            Me.Camera.Controls.Add(Me.GroupBox39)
            Me.Camera.Controls.Add(Me.GroupBox38)
            Me.Camera.Controls.Add(Me.ImageAdjustGB)
            Me.Camera.Controls.Add(Me.Label57)
            Me.Camera.Controls.Add(Me.Label56)
            Me.Camera.Controls.Add(Me.CamSnap)
            Me.Camera.Controls.Add(Me.WCPrev)
            Me.Camera.Location = New System.Drawing.Point(4, 28)
            Me.Camera.Name = "Camera"
            Me.Camera.Padding = New System.Windows.Forms.Padding(3)
            Me.Camera.Size = New System.Drawing.Size(1135, 701)
            Me.Camera.TabIndex = 9
            Me.Camera.Text = "Cam Snaps"
            Me.Camera.UseVisualStyleBackColor = True
            '
            'GroupBox40
            '
            Me.GroupBox40.Controls.Add(Me.Label73)
            Me.GroupBox40.Controls.Add(Me.CamGPHotkeyTB)
            Me.GroupBox40.Controls.Add(Me.WarnOnBootChB)
            Me.GroupBox40.Controls.Add(Me.UseHotkeyChB)
            Me.GroupBox40.Controls.Add(Me.SnapKeyName)
            Me.GroupBox40.Controls.Add(Me.CamSnapEnabled)
            Me.GroupBox40.Controls.Add(Me.SnapStamp)
            Me.GroupBox40.Controls.Add(Me.SnapPIP)
            Me.GroupBox40.Controls.Add(Me.SnapDateFolders)
            Me.GroupBox40.Controls.Add(Me.Label64)
            Me.GroupBox40.Controls.Add(Me.SnapPath)
            Me.GroupBox40.Controls.Add(Me.SnapPathFBD_BT)
            Me.GroupBox40.Location = New System.Drawing.Point(440, 24)
            Me.GroupBox40.Name = "GroupBox40"
            Me.GroupBox40.Size = New System.Drawing.Size(200, 224)
            Me.GroupBox40.TabIndex = 19
            Me.GroupBox40.TabStop = False
            Me.GroupBox40.Text = "Snaps Settings"
            '
            'Label73
            '
            Me.Label73.AutoSize = True
            Me.Label73.Location = New System.Drawing.Point(26, 191)
            Me.Label73.Name = "Label73"
            Me.Label73.Size = New System.Drawing.Size(57, 13)
            Me.Label73.TabIndex = 26
            Me.Label73.Text = "GamePad:"
            '
            'CamGPHotkeyTB
            '
            Me.CamGPHotkeyTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.CamGPHotkeyTB.Location = New System.Drawing.Point(97, 188)
            Me.CamGPHotkeyTB.Name = "CamGPHotkeyTB"
            Me.CamGPHotkeyTB.ReadOnly = True
            Me.CamGPHotkeyTB.Size = New System.Drawing.Size(90, 20)
            Me.CamGPHotkeyTB.TabIndex = 25
            Me.CamGPHotkeyTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            '
            'Label64
            '
            Me.Label64.AutoSize = True
            Me.Label64.Location = New System.Drawing.Point(6, 46)
            Me.Label64.Name = "Label64"
            Me.Label64.Size = New System.Drawing.Size(65, 13)
            Me.Label64.TabIndex = 8
            Me.Label64.Text = "Snaps Path:"
            '
            'SnapPath
            '
            Me.SnapPath.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.SnapPath.Location = New System.Drawing.Point(39, 64)
            Me.SnapPath.Name = "SnapPath"
            Me.SnapPath.ReadOnly = True
            Me.SnapPath.Size = New System.Drawing.Size(148, 20)
            Me.SnapPath.TabIndex = 6
            '
            'SnapPathFBD_BT
            '
            Me.SnapPathFBD_BT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.SnapPathFBD_BT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.SnapPathFBD_BT.Location = New System.Drawing.Point(9, 64)
            Me.SnapPathFBD_BT.Name = "SnapPathFBD_BT"
            Me.SnapPathFBD_BT.Size = New System.Drawing.Size(24, 20)
            Me.SnapPathFBD_BT.TabIndex = 7
            Me.SnapPathFBD_BT.UseVisualStyleBackColor = True
            '
            'GroupBox39
            '
            Me.GroupBox39.Controls.Add(Me.Label63)
            Me.GroupBox39.Controls.Add(Me.SnapFor)
            Me.GroupBox39.Controls.Add(Me.BurstNumber)
            Me.GroupBox39.Controls.Add(Me.SnapProbability)
            Me.GroupBox39.Controls.Add(Me.BurstWait)
            Me.GroupBox39.Controls.Add(Me.SnapGap)
            Me.GroupBox39.Controls.Add(Me.Label62)
            Me.GroupBox39.Controls.Add(Me.Label61)
            Me.GroupBox39.Controls.Add(Me.Label60)
            Me.GroupBox39.Controls.Add(Me.Label59)
            Me.GroupBox39.Controls.Add(Me.Label58)
            Me.GroupBox39.Controls.Add(Me.SnapMode)
            Me.GroupBox39.Location = New System.Drawing.Point(440, 254)
            Me.GroupBox39.Name = "GroupBox39"
            Me.GroupBox39.Size = New System.Drawing.Size(200, 186)
            Me.GroupBox39.TabIndex = 18
            Me.GroupBox39.TabStop = False
            Me.GroupBox39.Text = "Snap Modes"
            '
            'BurstNumber
            '
            Me.BurstNumber.Location = New System.Drawing.Point(87, 98)
            Me.BurstNumber.Name = "BurstNumber"
            Me.BurstNumber.Size = New System.Drawing.Size(100, 20)
            Me.BurstNumber.TabIndex = 27
            '
            'SnapProbability
            '
            Me.SnapProbability.Location = New System.Drawing.Point(87, 124)
            Me.SnapProbability.Name = "SnapProbability"
            Me.SnapProbability.Size = New System.Drawing.Size(100, 20)
            Me.SnapProbability.TabIndex = 26
            '
            'BurstWait
            '
            Me.BurstWait.Location = New System.Drawing.Point(87, 72)
            Me.BurstWait.Name = "BurstWait"
            Me.BurstWait.Size = New System.Drawing.Size(100, 20)
            Me.BurstWait.TabIndex = 25
            '
            'SnapGap
            '
            Me.SnapGap.Location = New System.Drawing.Point(87, 46)
            Me.SnapGap.Name = "SnapGap"
            Me.SnapGap.Size = New System.Drawing.Size(100, 20)
            Me.SnapGap.TabIndex = 24
            '
            'SnapMode
            '
            Me.SnapMode.BackColor = System.Drawing.SystemColors.Control
            Me.SnapMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.SnapMode.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.SnapMode.FormattingEnabled = True
            Me.SnapMode.Items.AddRange(New Object() {"Continuous", "Burst"})
            Me.SnapMode.Location = New System.Drawing.Point(49, 19)
            Me.SnapMode.Name = "SnapMode"
            Me.SnapMode.Size = New System.Drawing.Size(138, 21)
            Me.SnapMode.TabIndex = 19
            '
            'GroupBox38
            '
            Me.GroupBox38.Controls.Add(Me.RfrshCamsBT)
            Me.GroupBox38.Controls.Add(Me.WCSelect)
            Me.GroupBox38.Controls.Add(Me.WCStart)
            Me.GroupBox38.Controls.Add(Me.WCStop)
            Me.GroupBox38.Controls.Add(Me.WCSnap)
            Me.GroupBox38.Location = New System.Drawing.Point(301, 24)
            Me.GroupBox38.Name = "GroupBox38"
            Me.GroupBox38.Size = New System.Drawing.Size(133, 112)
            Me.GroupBox38.TabIndex = 17
            Me.GroupBox38.TabStop = False
            Me.GroupBox38.Text = "Webcam"
            '
            'WCSelect
            '
            Me.WCSelect.FormattingEnabled = True
            Me.WCSelect.Location = New System.Drawing.Point(6, 19)
            Me.WCSelect.Name = "WCSelect"
            Me.WCSelect.Size = New System.Drawing.Size(121, 21)
            Me.WCSelect.TabIndex = 5
            '
            'WCStart
            '
            Me.WCStart.Enabled = False
            Me.WCStart.Location = New System.Drawing.Point(6, 46)
            Me.WCStart.Name = "WCStart"
            Me.WCStart.Size = New System.Drawing.Size(62, 23)
            Me.WCStart.TabIndex = 2
            Me.WCStart.Text = "Start"
            Me.WCStart.UseVisualStyleBackColor = True
            '
            'WCStop
            '
            Me.WCStop.Enabled = False
            Me.WCStop.Location = New System.Drawing.Point(74, 46)
            Me.WCStop.Name = "WCStop"
            Me.WCStop.Size = New System.Drawing.Size(53, 23)
            Me.WCStop.TabIndex = 3
            Me.WCStop.Text = "Stop"
            Me.WCStop.UseVisualStyleBackColor = True
            '
            'WCSnap
            '
            Me.WCSnap.Enabled = False
            Me.WCSnap.Location = New System.Drawing.Point(33, 75)
            Me.WCSnap.Name = "WCSnap"
            Me.WCSnap.Size = New System.Drawing.Size(94, 23)
            Me.WCSnap.TabIndex = 4
            Me.WCSnap.Text = "Demo Snap"
            Me.WCSnap.UseVisualStyleBackColor = True
            '
            'ImageAdjustGB
            '
            Me.ImageAdjustGB.Controls.Add(Me.ImgSaveBT)
            Me.ImageAdjustGB.Controls.Add(Me.SnapBrightness)
            Me.ImageAdjustGB.Controls.Add(Me.SnapContrast)
            Me.ImageAdjustGB.Controls.Add(Me.SnapGamma)
            Me.ImageAdjustGB.Controls.Add(Me.SnapBlue)
            Me.ImageAdjustGB.Controls.Add(Me.SlidersResetBT)
            Me.ImageAdjustGB.Controls.Add(Me.SnapGreen)
            Me.ImageAdjustGB.Controls.Add(Me.SnapRed)
            Me.ImageAdjustGB.Enabled = False
            Me.ImageAdjustGB.ForeColor = System.Drawing.SystemColors.ControlText
            Me.ImageAdjustGB.Location = New System.Drawing.Point(301, 142)
            Me.ImageAdjustGB.Name = "ImageAdjustGB"
            Me.ImageAdjustGB.Size = New System.Drawing.Size(133, 238)
            Me.ImageAdjustGB.TabIndex = 16
            Me.ImageAdjustGB.TabStop = False
            Me.ImageAdjustGB.Text = "Image Adjustments"
            '
            'ImgSaveBT
            '
            Me.ImgSaveBT.Location = New System.Drawing.Point(6, 205)
            Me.ImgSaveBT.Name = "ImgSaveBT"
            Me.ImgSaveBT.Size = New System.Drawing.Size(49, 23)
            Me.ImgSaveBT.TabIndex = 20
            Me.ImgSaveBT.Text = "Save"
            Me.ImgSaveBT.UseVisualStyleBackColor = True
            Me.ImgSaveBT.Visible = False
            '
            'SlidersResetBT
            '
            Me.SlidersResetBT.Location = New System.Drawing.Point(61, 205)
            Me.SlidersResetBT.Name = "SlidersResetBT"
            Me.SlidersResetBT.Size = New System.Drawing.Size(59, 23)
            Me.SlidersResetBT.TabIndex = 10
            Me.SlidersResetBT.Text = "Reset"
            Me.SlidersResetBT.UseVisualStyleBackColor = True
            '
            'Label57
            '
            Me.Label57.AutoSize = True
            Me.Label57.Location = New System.Drawing.Point(9, 242)
            Me.Label57.Name = "Label57"
            Me.Label57.Size = New System.Drawing.Size(97, 13)
            Me.Label57.TabIndex = 15
            Me.Label57.Text = "CamSnap Preview:"
            '
            'Label56
            '
            Me.Label56.AutoSize = True
            Me.Label56.Location = New System.Drawing.Point(9, 19)
            Me.Label56.Name = "Label56"
            Me.Label56.Size = New System.Drawing.Size(72, 13)
            Me.Label56.TabIndex = 14
            Me.Label56.Text = "Cam Preview:"
            '
            'CamSnap
            '
            Me.CamSnap.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.CamSnap.Location = New System.Drawing.Point(12, 264)
            Me.CamSnap.Name = "CamSnap"
            Me.CamSnap.Size = New System.Drawing.Size(283, 199)
            Me.CamSnap.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
            Me.CamSnap.TabIndex = 6
            Me.CamSnap.TabStop = False
            '
            'WCPrev
            '
            Me.WCPrev.BackColor = System.Drawing.Color.Transparent
            Me.WCPrev.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.WCPrev.Location = New System.Drawing.Point(12, 43)
            Me.WCPrev.Name = "WCPrev"
            Me.WCPrev.Size = New System.Drawing.Size(283, 186)
            Me.WCPrev.TabIndex = 1
            '
            'GETweaks
            '
            Me.GETweaks.Controls.Add(Me.DialogPosCB)
            Me.GETweaks.Controls.Add(Me.GroupBox12)
            Me.GETweaks.Controls.Add(Me.GETweaksAudioGB)
            Me.GETweaks.Location = New System.Drawing.Point(4, 28)
            Me.GETweaks.Name = "GETweaks"
            Me.GETweaks.Size = New System.Drawing.Size(1135, 701)
            Me.GETweaks.TabIndex = 10
            Me.GETweaks.Text = "GameEx Tweaks"
            Me.GETweaks.UseVisualStyleBackColor = True
            '
            'DialogPosCB
            '
            Me.DialogPosCB.BackColor = System.Drawing.SystemColors.Control
            Me.DialogPosCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.DialogPosCB.FlatStyle = System.Windows.Forms.FlatStyle.Popup
            Me.DialogPosCB.FormattingEnabled = True
            Me.DialogPosCB.Items.AddRange(New Object() {"Top Right", "Middle Right", "Bottom Right", "Bottom Left", "Top Left", "Middle"})
            Me.DialogPosCB.Location = New System.Drawing.Point(531, 77)
            Me.DialogPosCB.Name = "DialogPosCB"
            Me.DialogPosCB.Size = New System.Drawing.Size(72, 21)
            Me.DialogPosCB.TabIndex = 7
            '
            'GroupBox12
            '
            Me.GroupBox12.Controls.Add(Me.MsgScaler)
            Me.GroupBox12.Controls.Add(Me.Label70)
            Me.GroupBox12.Controls.Add(Me.Label69)
            Me.GroupBox12.Controls.Add(Me.PaddingTB)
            Me.GroupBox12.Controls.Add(Me.Button20)
            Me.GroupBox12.Controls.Add(Me.Button19)
            Me.GroupBox12.Controls.Add(Me.DialoguePrevPB)
            Me.GroupBox12.Controls.Add(Me.MsgBoxPrevPB)
            Me.GroupBox12.Location = New System.Drawing.Point(312, 16)
            Me.GroupBox12.Name = "GroupBox12"
            Me.GroupBox12.Size = New System.Drawing.Size(298, 175)
            Me.GroupBox12.TabIndex = 1
            Me.GroupBox12.TabStop = False
            Me.GroupBox12.Text = " Adjust Meassge Box"
            '
            'MsgScaler
            '
            Me.MsgScaler.Location = New System.Drawing.Point(253, 114)
            Me.MsgScaler.Name = "MsgScaler"
            Me.MsgScaler.Size = New System.Drawing.Size(38, 20)
            Me.MsgScaler.TabIndex = 8
            '
            'PaddingTB
            '
            Me.PaddingTB.Location = New System.Drawing.Point(253, 88)
            Me.PaddingTB.Name = "PaddingTB"
            Me.PaddingTB.Size = New System.Drawing.Size(39, 20)
            Me.PaddingTB.TabIndex = 7
            '
            'MsgBoxPrevPB
            '
            Me.MsgBoxPrevPB.BackColor = System.Drawing.Color.Transparent
            Me.MsgBoxPrevPB.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.MsgBoxPrevPB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.MsgBoxPrevPB.Location = New System.Drawing.Point(6, 19)
            Me.MsgBoxPrevPB.Name = "MsgBoxPrevPB"
            Me.MsgBoxPrevPB.Size = New System.Drawing.Size(180, 144)
            Me.MsgBoxPrevPB.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
            Me.MsgBoxPrevPB.TabIndex = 0
            Me.MsgBoxPrevPB.TabStop = False
            '
            'GETweaksAudioGB
            '
            Me.GETweaksAudioGB.Controls.Add(Me.RandomLaunchChB)
            Me.GETweaksAudioGB.Controls.Add(Me.RandomIntroBTChB)
            Me.GETweaksAudioGB.Controls.Add(Me.Label77)
            Me.GETweaksAudioGB.Controls.Add(Me.RandomLaunchTB)
            Me.GETweaksAudioGB.Controls.Add(Me.RandomLaunchBT)
            Me.GETweaksAudioGB.Controls.Add(Me.RandomINtroTB)
            Me.GETweaksAudioGB.Controls.Add(Me.RandomIntroBT)
            Me.GETweaksAudioGB.Controls.Add(Me.Button18)
            Me.GETweaksAudioGB.Controls.Add(Me.Label68)
            Me.GETweaksAudioGB.Controls.Add(Me.Button16)
            Me.GETweaksAudioGB.Controls.Add(Me.GESoundLaunch)
            Me.GETweaksAudioGB.Controls.Add(Me.Button17)
            Me.GETweaksAudioGB.Controls.Add(Me.Label67)
            Me.GETweaksAudioGB.Controls.Add(Me.Button14)
            Me.GETweaksAudioGB.Controls.Add(Me.GESoundSelect)
            Me.GETweaksAudioGB.Controls.Add(Me.Button15)
            Me.GETweaksAudioGB.Controls.Add(Me.Label66)
            Me.GETweaksAudioGB.Controls.Add(Me.Button12)
            Me.GETweaksAudioGB.Controls.Add(Me.GESoundFocus)
            Me.GETweaksAudioGB.Controls.Add(Me.Button13)
            Me.GETweaksAudioGB.Controls.Add(Me.Label65)
            Me.GETweaksAudioGB.Controls.Add(Me.Button11)
            Me.GETweaksAudioGB.Controls.Add(Me.GESoundIntro)
            Me.GETweaksAudioGB.Controls.Add(Me.Button10)
            Me.GETweaksAudioGB.Location = New System.Drawing.Point(8, 16)
            Me.GETweaksAudioGB.Name = "GETweaksAudioGB"
            Me.GETweaksAudioGB.Size = New System.Drawing.Size(298, 212)
            Me.GETweaksAudioGB.TabIndex = 0
            Me.GETweaksAudioGB.TabStop = False
            Me.GETweaksAudioGB.Text = "Sounds"
            '
            'RandomLaunchChB
            '
            Me.RandomLaunchChB.AutoSize = True
            Me.RandomLaunchChB.Location = New System.Drawing.Point(9, 183)
            Me.RandomLaunchChB.Name = "RandomLaunchChB"
            Me.RandomLaunchChB.Size = New System.Drawing.Size(62, 17)
            Me.RandomLaunchChB.TabIndex = 33
            Me.RandomLaunchChB.Text = "Launch"
            Me.RandomLaunchChB.UseVisualStyleBackColor = True
            '
            'RandomIntroBTChB
            '
            Me.RandomIntroBTChB.AutoSize = True
            Me.RandomIntroBTChB.Location = New System.Drawing.Point(9, 157)
            Me.RandomIntroBTChB.Name = "RandomIntroBTChB"
            Me.RandomIntroBTChB.Size = New System.Drawing.Size(47, 17)
            Me.RandomIntroBTChB.TabIndex = 32
            Me.RandomIntroBTChB.Text = "Intro"
            Me.RandomIntroBTChB.UseVisualStyleBackColor = True
            '
            'Label77
            '
            Me.Label77.AutoSize = True
            Me.Label77.Location = New System.Drawing.Point(6, 133)
            Me.Label77.Name = "Label77"
            Me.Label77.Size = New System.Drawing.Size(63, 13)
            Me.Label77.TabIndex = 31
            Me.Label77.Text = "Randomise:"
            '
            'RandomLaunchTB
            '
            Me.RandomLaunchTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.RandomLaunchTB.Location = New System.Drawing.Point(104, 181)
            Me.RandomLaunchTB.Name = "RandomLaunchTB"
            Me.RandomLaunchTB.ReadOnly = True
            Me.RandomLaunchTB.Size = New System.Drawing.Size(182, 20)
            Me.RandomLaunchTB.TabIndex = 29
            '
            'RandomLaunchBT
            '
            Me.RandomLaunchBT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.RandomLaunchBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.RandomLaunchBT.Location = New System.Drawing.Point(74, 180)
            Me.RandomLaunchBT.Name = "RandomLaunchBT"
            Me.RandomLaunchBT.Size = New System.Drawing.Size(24, 20)
            Me.RandomLaunchBT.TabIndex = 30
            Me.RandomLaunchBT.UseVisualStyleBackColor = True
            '
            'RandomINtroTB
            '
            Me.RandomINtroTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.RandomINtroTB.Location = New System.Drawing.Point(104, 155)
            Me.RandomINtroTB.Name = "RandomINtroTB"
            Me.RandomINtroTB.ReadOnly = True
            Me.RandomINtroTB.Size = New System.Drawing.Size(182, 20)
            Me.RandomINtroTB.TabIndex = 25
            '
            'RandomIntroBT
            '
            Me.RandomIntroBT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.RandomIntroBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.RandomIntroBT.Location = New System.Drawing.Point(74, 154)
            Me.RandomIntroBT.Name = "RandomIntroBT"
            Me.RandomIntroBT.Size = New System.Drawing.Size(24, 20)
            Me.RandomIntroBT.TabIndex = 26
            Me.RandomIntroBT.UseVisualStyleBackColor = True
            '
            'Label68
            '
            Me.Label68.AutoSize = True
            Me.Label68.Location = New System.Drawing.Point(6, 100)
            Me.Label68.Name = "Label68"
            Me.Label68.Size = New System.Drawing.Size(43, 13)
            Me.Label68.TabIndex = 19
            Me.Label68.Text = "Launch"
            '
            'Button16
            '
            Me.Button16.BackgroundImage = Global.My.Resources.Resources.play_xxl
            Me.Button16.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.Button16.Location = New System.Drawing.Point(262, 97)
            Me.Button16.Name = "Button16"
            Me.Button16.Size = New System.Drawing.Size(24, 20)
            Me.Button16.TabIndex = 22
            Me.Button16.UseVisualStyleBackColor = True
            '
            'GESoundLaunch
            '
            Me.GESoundLaunch.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GESoundLaunch.Location = New System.Drawing.Point(104, 97)
            Me.GESoundLaunch.Name = "GESoundLaunch"
            Me.GESoundLaunch.ReadOnly = True
            Me.GESoundLaunch.Size = New System.Drawing.Size(152, 20)
            Me.GESoundLaunch.TabIndex = 20
            '
            'Button17
            '
            Me.Button17.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.Button17.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.Button17.Location = New System.Drawing.Point(74, 96)
            Me.Button17.Name = "Button17"
            Me.Button17.Size = New System.Drawing.Size(24, 20)
            Me.Button17.TabIndex = 21
            Me.Button17.UseVisualStyleBackColor = True
            '
            'Button14
            '
            Me.Button14.BackgroundImage = Global.My.Resources.Resources.play_xxl
            Me.Button14.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.Button14.Location = New System.Drawing.Point(262, 71)
            Me.Button14.Name = "Button14"
            Me.Button14.Size = New System.Drawing.Size(24, 20)
            Me.Button14.TabIndex = 18
            Me.Button14.UseVisualStyleBackColor = True
            '
            'GESoundSelect
            '
            Me.GESoundSelect.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GESoundSelect.Location = New System.Drawing.Point(104, 71)
            Me.GESoundSelect.Name = "GESoundSelect"
            Me.GESoundSelect.ReadOnly = True
            Me.GESoundSelect.Size = New System.Drawing.Size(152, 20)
            Me.GESoundSelect.TabIndex = 16
            '
            'Button15
            '
            Me.Button15.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.Button15.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.Button15.Location = New System.Drawing.Point(74, 70)
            Me.Button15.Name = "Button15"
            Me.Button15.Size = New System.Drawing.Size(24, 20)
            Me.Button15.TabIndex = 17
            Me.Button15.UseVisualStyleBackColor = True
            '
            'Button12
            '
            Me.Button12.BackgroundImage = Global.My.Resources.Resources.play_xxl
            Me.Button12.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.Button12.Location = New System.Drawing.Point(262, 45)
            Me.Button12.Name = "Button12"
            Me.Button12.Size = New System.Drawing.Size(24, 20)
            Me.Button12.TabIndex = 14
            Me.Button12.UseVisualStyleBackColor = True
            '
            'GESoundFocus
            '
            Me.GESoundFocus.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GESoundFocus.Location = New System.Drawing.Point(104, 45)
            Me.GESoundFocus.Name = "GESoundFocus"
            Me.GESoundFocus.ReadOnly = True
            Me.GESoundFocus.Size = New System.Drawing.Size(152, 20)
            Me.GESoundFocus.TabIndex = 12
            '
            'Button13
            '
            Me.Button13.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.Button13.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.Button13.Location = New System.Drawing.Point(74, 44)
            Me.Button13.Name = "Button13"
            Me.Button13.Size = New System.Drawing.Size(24, 20)
            Me.Button13.TabIndex = 13
            Me.Button13.UseVisualStyleBackColor = True
            '
            'Button11
            '
            Me.Button11.BackgroundImage = Global.My.Resources.Resources.play_xxl
            Me.Button11.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.Button11.Location = New System.Drawing.Point(262, 19)
            Me.Button11.Name = "Button11"
            Me.Button11.Size = New System.Drawing.Size(24, 20)
            Me.Button11.TabIndex = 10
            Me.Button11.UseVisualStyleBackColor = True
            '
            'GESoundIntro
            '
            Me.GESoundIntro.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GESoundIntro.Location = New System.Drawing.Point(104, 19)
            Me.GESoundIntro.Name = "GESoundIntro"
            Me.GESoundIntro.ReadOnly = True
            Me.GESoundIntro.Size = New System.Drawing.Size(152, 20)
            Me.GESoundIntro.TabIndex = 8
            Me.GESoundIntro.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
            '
            'Button10
            '
            Me.Button10.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.Button10.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.Button10.Location = New System.Drawing.Point(74, 18)
            Me.Button10.Name = "Button10"
            Me.Button10.Size = New System.Drawing.Size(24, 20)
            Me.Button10.TabIndex = 9
            Me.Button10.UseVisualStyleBackColor = True
            '
            'SettingsTab
            '
            Me.SettingsTab.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.SettingsTab.Controls.Add(Me.Panel1)
            Me.SettingsTab.Controls.Add(Me.VersionLB)
            Me.SettingsTab.Location = New System.Drawing.Point(4, 28)
            Me.SettingsTab.Name = "SettingsTab"
            Me.SettingsTab.Padding = New System.Windows.Forms.Padding(3)
            Me.SettingsTab.Size = New System.Drawing.Size(1135, 701)
            Me.SettingsTab.TabIndex = 1
            Me.SettingsTab.Text = "Settings and Help"
            Me.SettingsTab.UseVisualStyleBackColor = True
            '
            'Panel1
            '
            Me.Panel1.AutoScroll = True
            Me.Panel1.Controls.Add(Me.GroupBox1)
            Me.Panel1.Controls.Add(Me.GroupBox41)
            Me.Panel1.Controls.Add(Me.GroupBox6)
            Me.Panel1.Controls.Add(Me.GEOPtsGB)
            Me.Panel1.Controls.Add(Me.GroupBox14)
            Me.Panel1.Controls.Add(Me.GroupBox11)
            Me.Panel1.Controls.Add(Me.GroupBox30)
            Me.Panel1.Controls.Add(Me.GroupBox31)
            Me.Panel1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.Panel1.Location = New System.Drawing.Point(3, 3)
            Me.Panel1.Name = "Panel1"
            Me.Panel1.Size = New System.Drawing.Size(1127, 693)
            Me.Panel1.TabIndex = 19
            '
            'GroupBox1
            '
            Me.GroupBox1.Controls.Add(Me.ConfigLog)
            Me.GroupBox1.Controls.Add(Me.Button22)
            Me.GroupBox1.Controls.Add(Me.Debug2Log)
            Me.GroupBox1.Controls.Add(Me.VerbLogCB)
            Me.GroupBox1.Controls.Add(Me.SysDetsCB)
            Me.GroupBox1.Controls.Add(Me.ShowDebugCB)
            Me.GroupBox1.Location = New System.Drawing.Point(13, 12)
            Me.GroupBox1.Name = "GroupBox1"
            Me.GroupBox1.Size = New System.Drawing.Size(298, 116)
            Me.GroupBox1.TabIndex = 0
            Me.GroupBox1.TabStop = False
            Me.GroupBox1.Text = "Logging"
            '
            'Debug2Log
            '
            Me.Debug2Log.AutoSize = True
            Me.Debug2Log.Location = New System.Drawing.Point(6, 44)
            Me.Debug2Log.Name = "Debug2Log"
            Me.Debug2Log.Size = New System.Drawing.Size(132, 17)
            Me.Debug2Log.TabIndex = 2
            Me.Debug2Log.Text = "Log to Debug Console"
            Me.Debug2Log.UseVisualStyleBackColor = True
            '
            'VerbLogCB
            '
            Me.VerbLogCB.AutoSize = True
            Me.VerbLogCB.Location = New System.Drawing.Point(6, 90)
            Me.VerbLogCB.Name = "VerbLogCB"
            Me.VerbLogCB.Size = New System.Drawing.Size(209, 17)
            Me.VerbLogCB.TabIndex = 1
            Me.VerbLogCB.Text = "Show Debug Console for Configuration"
            Me.VerbLogCB.UseVisualStyleBackColor = True
            '
            'SysDetsCB
            '
            Me.SysDetsCB.AutoSize = True
            Me.SysDetsCB.Location = New System.Drawing.Point(6, 67)
            Me.SysDetsCB.Name = "SysDetsCB"
            Me.SysDetsCB.Size = New System.Drawing.Size(189, 17)
            Me.SysDetsCB.TabIndex = 1
            Me.SysDetsCB.Text = "System Details in Log (Slows Start)"
            Me.SysDetsCB.UseVisualStyleBackColor = True
            '
            'ShowDebugCB
            '
            Me.ShowDebugCB.AutoSize = True
            Me.ShowDebugCB.Location = New System.Drawing.Point(6, 21)
            Me.ShowDebugCB.Name = "ShowDebugCB"
            Me.ShowDebugCB.Size = New System.Drawing.Size(129, 17)
            Me.ShowDebugCB.TabIndex = 0
            Me.ShowDebugCB.Text = "Show Debug Console"
            Me.ShowDebugCB.UseVisualStyleBackColor = True
            '
            'GroupBox41
            '
            Me.GroupBox41.Controls.Add(Me.Label92)
            Me.GroupBox41.Controls.Add(Me.DatagridText)
            Me.GroupBox41.Controls.Add(Me.CustmLoadStartup)
            Me.GroupBox41.Controls.Add(Me.SettsReset)
            Me.GroupBox41.Controls.Add(Me.Label91)
            Me.GroupBox41.Controls.Add(Me.TopPanelBG)
            Me.GroupBox41.Controls.Add(Me.Label86)
            Me.GroupBox41.Controls.Add(Me.Label85)
            Me.GroupBox41.Controls.Add(Me.SaveSettsBT)
            Me.GroupBox41.Controls.Add(Me.Label84)
            Me.GroupBox41.Controls.Add(Me.Label83)
            Me.GroupBox41.Controls.Add(Me.Label82)
            Me.GroupBox41.Controls.Add(Me.Label81)
            Me.GroupBox41.Controls.Add(Me.Label80)
            Me.GroupBox41.Controls.Add(Me.Label79)
            Me.GroupBox41.Controls.Add(Me.Label78)
            Me.GroupBox41.Controls.Add(Me.GUIFontBT)
            Me.GroupBox41.Controls.Add(Me.Label76)
            Me.GroupBox41.Controls.Add(Me.FreeText)
            Me.GroupBox41.Controls.Add(Me.DropdownText)
            Me.GroupBox41.Controls.Add(Me.ReadOnlyText)
            Me.GroupBox41.Controls.Add(Me.Button3)
            Me.GroupBox41.Controls.Add(Me.TextboxBG)
            Me.GroupBox41.Controls.Add(Me.DropdownBG)
            Me.GroupBox41.Controls.Add(Me.ButtonsBG)
            Me.GroupBox41.Controls.Add(Me.ReadOnlyBG)
            Me.GroupBox41.Controls.Add(Me.DatagridBG)
            Me.GroupBox41.Controls.Add(Me.DatagridHeadersBG)
            Me.GroupBox41.Controls.Add(Me.FormBG)
            Me.GroupBox41.Controls.Add(Me.Label75)
            Me.GroupBox41.Controls.Add(Me.FormText)
            Me.GroupBox41.Location = New System.Drawing.Point(621, 12)
            Me.GroupBox41.Name = "GroupBox41"
            Me.GroupBox41.Size = New System.Drawing.Size(298, 363)
            Me.GroupBox41.TabIndex = 18
            Me.GroupBox41.TabStop = False
            Me.GroupBox41.Text = "Custom GUI"
            '
            'Label92
            '
            Me.Label92.AutoSize = True
            Me.Label92.Location = New System.Drawing.Point(32, 184)
            Me.Label92.Name = "Label92"
            Me.Label92.Size = New System.Drawing.Size(71, 13)
            Me.Label92.TabIndex = 39
            Me.Label92.Text = "Datagird Text"
            '
            'CustmLoadStartup
            '
            Me.CustmLoadStartup.AutoSize = True
            Me.CustmLoadStartup.Location = New System.Drawing.Point(193, 88)
            Me.CustmLoadStartup.Name = "CustmLoadStartup"
            Me.CustmLoadStartup.Size = New System.Drawing.Size(99, 17)
            Me.CustmLoadStartup.TabIndex = 19
            Me.CustmLoadStartup.Text = "Load at Startup"
            Me.CustmLoadStartup.UseVisualStyleBackColor = True
            '
            'Label91
            '
            Me.Label91.AutoSize = True
            Me.Label91.Location = New System.Drawing.Point(32, 314)
            Me.Label91.Name = "Label91"
            Me.Label91.Size = New System.Drawing.Size(117, 13)
            Me.Label91.TabIndex = 37
            Me.Label91.Text = "Top Panel Background"
            '
            'Label86
            '
            Me.Label86.AutoSize = True
            Me.Label86.Location = New System.Drawing.Point(32, 79)
            Me.Label86.Name = "Label86"
            Me.Label86.Size = New System.Drawing.Size(69, 13)
            Me.Label86.TabIndex = 35
            Me.Label86.Text = "Textbox Text"
            '
            'Label85
            '
            Me.Label85.AutoSize = True
            Me.Label85.Location = New System.Drawing.Point(32, 132)
            Me.Label85.Name = "Label85"
            Me.Label85.Size = New System.Drawing.Size(80, 13)
            Me.Label85.TabIndex = 34
            Me.Label85.Text = "Dropdown Text"
            '
            'Label84
            '
            Me.Label84.AutoSize = True
            Me.Label84.Location = New System.Drawing.Point(32, 262)
            Me.Label84.Name = "Label84"
            Me.Label84.Size = New System.Drawing.Size(125, 13)
            Me.Label84.TabIndex = 33
            Me.Label84.Text = "Read-only + Hotkey Text"
            '
            'Label83
            '
            Me.Label83.AutoSize = True
            Me.Label83.Location = New System.Drawing.Point(32, 106)
            Me.Label83.Name = "Label83"
            Me.Label83.Size = New System.Drawing.Size(106, 13)
            Me.Label83.TabIndex = 32
            Me.Label83.Text = "Textbox Background"
            '
            'Label82
            '
            Me.Label82.AutoSize = True
            Me.Label82.Location = New System.Drawing.Point(32, 339)
            Me.Label82.Name = "Label82"
            Me.Label82.Size = New System.Drawing.Size(151, 13)
            Me.Label82.TabIndex = 31
            Me.Label82.Text = "Group and Tab Headings Text"
            '
            'Label81
            '
            Me.Label81.AutoSize = True
            Me.Label81.Location = New System.Drawing.Point(32, 288)
            Me.Label81.Name = "Label81"
            Me.Label81.Size = New System.Drawing.Size(118, 13)
            Me.Label81.TabIndex = 30
            Me.Label81.Text = "Read Only Background"
            '
            'Label80
            '
            Me.Label80.AutoSize = True
            Me.Label80.Location = New System.Drawing.Point(32, 209)
            Me.Label80.Name = "Label80"
            Me.Label80.Size = New System.Drawing.Size(108, 13)
            Me.Label80.TabIndex = 29
            Me.Label80.Text = "Datagrid Background"
            '
            'Label79
            '
            Me.Label79.AutoSize = True
            Me.Label79.Location = New System.Drawing.Point(32, 158)
            Me.Label79.Name = "Label79"
            Me.Label79.Size = New System.Drawing.Size(117, 13)
            Me.Label79.TabIndex = 28
            Me.Label79.Text = "Dropdown Background"
            '
            'Label78
            '
            Me.Label78.AutoSize = True
            Me.Label78.Location = New System.Drawing.Point(32, 236)
            Me.Label78.Name = "Label78"
            Me.Label78.Size = New System.Drawing.Size(90, 13)
            Me.Label78.TabIndex = 27
            Me.Label78.Text = "Datagrid Headers"
            '
            'Label76
            '
            Me.Label76.AutoSize = True
            Me.Label76.Location = New System.Drawing.Point(32, 54)
            Me.Label76.Name = "Label76"
            Me.Label76.Size = New System.Drawing.Size(91, 13)
            Me.Label76.TabIndex = 26
            Me.Label76.Text = "Form Background"
            '
            'Label75
            '
            Me.Label75.AutoSize = True
            Me.Label75.Location = New System.Drawing.Point(32, 28)
            Me.Label75.Name = "Label75"
            Me.Label75.Size = New System.Drawing.Size(54, 13)
            Me.Label75.TabIndex = 15
            Me.Label75.Text = "Form Text"
            '
            'GroupBox6
            '
            Me.GroupBox6.Controls.Add(Me.NetZipToLocalChB)
            Me.GroupBox6.Controls.Add(Me.UnECMChB)
            Me.GroupBox6.Controls.Add(Me.SettsShowZipChB)
            Me.GroupBox6.Controls.Add(Me.Label1)
            Me.GroupBox6.Controls.Add(Me.ZipExeTB)
            Me.GroupBox6.Controls.Add(Me.Get7ZBT)
            Me.GroupBox6.Location = New System.Drawing.Point(13, 134)
            Me.GroupBox6.Name = "GroupBox6"
            Me.GroupBox6.Size = New System.Drawing.Size(298, 129)
            Me.GroupBox6.TabIndex = 6
            Me.GroupBox6.TabStop = False
            Me.GroupBox6.Text = "7Zip"
            '
            'UnECMChB
            '
            Me.UnECMChB.AutoSize = True
            Me.UnECMChB.Location = New System.Drawing.Point(36, 83)
            Me.UnECMChB.Name = "UnECMChB"
            Me.UnECMChB.Size = New System.Drawing.Size(197, 17)
            Me.UnECMChB.TabIndex = 6
            Me.UnECMChB.Text = "Show UnECM and UnAPE Dialogue"
            Me.UnECMChB.UseVisualStyleBackColor = True
            '
            'Label1
            '
            Me.Label1.AutoSize = True
            Me.Label1.Location = New System.Drawing.Point(7, 16)
            Me.Label1.Name = "Label1"
            Me.Label1.Size = New System.Drawing.Size(87, 13)
            Me.Label1.TabIndex = 5
            Me.Label1.Text = "7Zip Executable:"
            '
            'ZipExeTB
            '
            Me.ZipExeTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.ZipExeTB.Location = New System.Drawing.Point(36, 34)
            Me.ZipExeTB.Name = "ZipExeTB"
            Me.ZipExeTB.ReadOnly = True
            Me.ZipExeTB.Size = New System.Drawing.Size(253, 20)
            Me.ZipExeTB.TabIndex = 3
            '
            'Get7ZBT
            '
            Me.Get7ZBT.BackgroundImage = Global.My.Resources.Resources.Folder_icon
            Me.Get7ZBT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
            Me.Get7ZBT.Location = New System.Drawing.Point(6, 34)
            Me.Get7ZBT.Name = "Get7ZBT"
            Me.Get7ZBT.Size = New System.Drawing.Size(24, 20)
            Me.Get7ZBT.TabIndex = 4
            Me.Get7ZBT.UseVisualStyleBackColor = True
            '
            'GEOPtsGB
            '
            Me.GEOPtsGB.Controls.Add(Me.Label74)
            Me.GEOPtsGB.Controls.Add(Me.EmuHKGPTB)
            Me.GEOPtsGB.Controls.Add(Me.Label72)
            Me.GEOPtsGB.Controls.Add(Me.GEEmuHotkeyTB)
            Me.GEOPtsGB.Controls.Add(Me.SuppSettsAudioChB)
            Me.GEOPtsGB.Location = New System.Drawing.Point(317, 451)
            Me.GEOPtsGB.Name = "GEOPtsGB"
            Me.GEOPtsGB.Size = New System.Drawing.Size(298, 102)
            Me.GEOPtsGB.TabIndex = 13
            Me.GEOPtsGB.TabStop = False
            Me.GEOPtsGB.Text = "GameEx Options"
            '
            'Label74
            '
            Me.Label74.AutoSize = True
            Me.Label74.Location = New System.Drawing.Point(43, 47)
            Me.Label74.Name = "Label74"
            Me.Label74.Size = New System.Drawing.Size(56, 13)
            Me.Label74.TabIndex = 29
            Me.Label74.Text = "Gamepad:"
            '
            'EmuHKGPTB
            '
            Me.EmuHKGPTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.EmuHKGPTB.Location = New System.Drawing.Point(111, 44)
            Me.EmuHKGPTB.Name = "EmuHKGPTB"
            Me.EmuHKGPTB.ReadOnly = True
            Me.EmuHKGPTB.Size = New System.Drawing.Size(67, 20)
            Me.EmuHKGPTB.TabIndex = 28
            Me.EmuHKGPTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            '
            'GroupBox11
            '
            Me.GroupBox11.Controls.Add(Me.DonateBT)
            Me.GroupBox11.Controls.Add(Me.EmuSettsDL)
            Me.GroupBox11.Controls.Add(Me.PictureBox9)
            Me.GroupBox11.Controls.Add(Me.PictureBox8)
            Me.GroupBox11.Controls.Add(Me.PictureBox7)
            Me.GroupBox11.Controls.Add(Me.PictureBox6)
            Me.GroupBox11.Location = New System.Drawing.Point(13, 480)
            Me.GroupBox11.Name = "GroupBox11"
            Me.GroupBox11.Size = New System.Drawing.Size(298, 73)
            Me.GroupBox11.TabIndex = 12
            Me.GroupBox11.TabStop = False
            Me.GroupBox11.Text = "Links and Help"
            '
            'GroupBox30
            '
            Me.GroupBox30.Controls.Add(Me.Button24)
            Me.GroupBox30.Controls.Add(Me.RefreshGPs)
            Me.GroupBox30.Controls.Add(Me.Label71)
            Me.GroupBox30.Controls.Add(Me.GPSelSetTB)
            Me.GroupBox30.Controls.Add(Me.Label48)
            Me.GroupBox30.Controls.Add(Me.SelTB)
            Me.GroupBox30.Controls.Add(Me.Label47)
            Me.GroupBox30.Controls.Add(Me.Label46)
            Me.GroupBox30.Controls.Add(Me.Label45)
            Me.GroupBox30.Controls.Add(Me.Label44)
            Me.GroupBox30.Controls.Add(Me.DelAlwysTB)
            Me.GroupBox30.Controls.Add(Me.KeepAlwysTB)
            Me.GroupBox30.Controls.Add(Me.KeepThisTB)
            Me.GroupBox30.Controls.Add(Me.DelThisTB)
            Me.GroupBox30.Location = New System.Drawing.Point(13, 275)
            Me.GroupBox30.Name = "GroupBox30"
            Me.GroupBox30.Size = New System.Drawing.Size(298, 199)
            Me.GroupBox30.TabIndex = 9
            Me.GroupBox30.TabStop = False
            Me.GroupBox30.Text = "Quicklaunch:"
            '
            'Label71
            '
            Me.Label71.AutoSize = True
            Me.Label71.Location = New System.Drawing.Point(189, 182)
            Me.Label71.Name = "Label71"
            Me.Label71.Size = New System.Drawing.Size(87, 13)
            Me.Label71.TabIndex = 22
            Me.Label71.Text = "GamePad Select"
            '
            'GPSelSetTB
            '
            Me.GPSelSetTB.BackColor = System.Drawing.SystemColors.InactiveBorder
            Me.GPSelSetTB.Location = New System.Drawing.Point(198, 157)
            Me.GPSelSetTB.Name = "GPSelSetTB"
            Me.GPSelSetTB.ReadOnly = True
            Me.GPSelSetTB.Size = New System.Drawing.Size(67, 20)
            Me.GPSelSetTB.TabIndex = 21
            Me.GPSelSetTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            '
            'Label48
            '
            Me.Label48.AutoSize = True
            Me.Label48.Location = New System.Drawing.Point(128, 136)
            Me.Label48.Name = "Label48"
            Me.Label48.Size = New System.Drawing.Size(37, 13)
            Me.Label48.TabIndex = 20
            Me.Label48.Text = "Select"
            '
            'Label47
            '
            Me.Label47.AutoSize = True
            Me.Label47.Location = New System.Drawing.Point(197, 136)
            Me.Label47.Name = "Label47"
            Me.Label47.Size = New System.Drawing.Size(68, 13)
            Me.Label47.TabIndex = 18
            Me.Label47.Text = "Always Keep"
            '
            'Label46
            '
            Me.Label46.AutoSize = True
            Me.Label46.Location = New System.Drawing.Point(20, 136)
            Me.Label46.Name = "Label46"
            Me.Label46.Size = New System.Drawing.Size(74, 13)
            Me.Label46.TabIndex = 17
            Me.Label46.Text = "Always Delete"
            '
            'Label45
            '
            Me.Label45.AutoSize = True
            Me.Label45.Location = New System.Drawing.Point(104, 182)
            Me.Label45.Name = "Label45"
            Me.Label45.Size = New System.Drawing.Size(79, 13)
            Me.Label45.TabIndex = 16
            Me.Label45.Text = "Delete this time"
            '
            'Label44
            '
            Me.Label44.AutoSize = True
            Me.Label44.Location = New System.Drawing.Point(107, 89)
            Me.Label44.Name = "Label44"
            Me.Label44.Size = New System.Drawing.Size(73, 13)
            Me.Label44.TabIndex = 15
            Me.Label44.Text = "Keep this time"
            '
            'GroupBox31
            '
            Me.GroupBox31.AutoSize = True
            Me.GroupBox31.Controls.Add(Me.MsgDemo)
            Me.GroupBox31.Controls.Add(Me.ShowTicker)
            Me.GroupBox31.Controls.Add(Me.MsgDefaultBT)
            Me.GroupBox31.Controls.Add(Me.LogoPB2)
            Me.GroupBox31.Controls.Add(Me.PromptEgTB)
            Me.GroupBox31.Controls.Add(Me.PromptBGColBT)
            Me.GroupBox31.Controls.Add(Me.PromptFGColBT)
            Me.GroupBox31.Controls.Add(Me.ProcMsgFontBT)
            Me.GroupBox31.Location = New System.Drawing.Point(621, 381)
            Me.GroupBox31.Name = "GroupBox31"
            Me.GroupBox31.Size = New System.Drawing.Size(298, 119)
            Me.GroupBox31.TabIndex = 11
            Me.GroupBox31.TabStop = False
            Me.GroupBox31.Text = "Prompts"
            '
            'ShowTicker
            '
            Me.ShowTicker.AutoSize = True
            Me.ShowTicker.Location = New System.Drawing.Point(6, 53)
            Me.ShowTicker.Name = "ShowTicker"
            Me.ShowTicker.Size = New System.Drawing.Size(105, 17)
            Me.ShowTicker.TabIndex = 12
            Me.ShowTicker.Text = "Show Ticker Bar"
            Me.ShowTicker.UseVisualStyleBackColor = True
            '
            'MsgDefaultBT
            '
            Me.MsgDefaultBT.Location = New System.Drawing.Point(237, 77)
            Me.MsgDefaultBT.Name = "MsgDefaultBT"
            Me.MsgDefaultBT.Size = New System.Drawing.Size(52, 23)
            Me.MsgDefaultBT.TabIndex = 15
            Me.MsgDefaultBT.Text = "Default"
            Me.MsgDefaultBT.UseVisualStyleBackColor = True
            '
            'LogoPB2
            '
            Me.LogoPB2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.LogoPB2.Cursor = System.Windows.Forms.Cursors.Hand
            Me.LogoPB2.Image = Global.My.Resources.Resources.FootLogo
            Me.LogoPB2.Location = New System.Drawing.Point(237, 21)
            Me.LogoPB2.Name = "LogoPB2"
            Me.LogoPB2.Size = New System.Drawing.Size(52, 50)
            Me.LogoPB2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
            Me.LogoPB2.TabIndex = 14
            Me.LogoPB2.TabStop = False
            '
            'PromptEgTB
            '
            Me.PromptEgTB.Location = New System.Drawing.Point(6, 80)
            Me.PromptEgTB.Name = "PromptEgTB"
            Me.PromptEgTB.ReadOnly = True
            Me.PromptEgTB.Size = New System.Drawing.Size(211, 20)
            Me.PromptEgTB.TabIndex = 13
            Me.PromptEgTB.Text = "Example Appearance"
            Me.PromptEgTB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            '
            'PromptBGColBT
            '
            Me.PromptBGColBT.Location = New System.Drawing.Point(134, 21)
            Me.PromptBGColBT.Name = "PromptBGColBT"
            Me.PromptBGColBT.Size = New System.Drawing.Size(83, 23)
            Me.PromptBGColBT.TabIndex = 12
            Me.PromptBGColBT.Text = "BG Colour"
            Me.PromptBGColBT.UseVisualStyleBackColor = True
            '
            'PromptFGColBT
            '
            Me.PromptFGColBT.Location = New System.Drawing.Point(48, 21)
            Me.PromptFGColBT.Name = "PromptFGColBT"
            Me.PromptFGColBT.Size = New System.Drawing.Size(80, 23)
            Me.PromptFGColBT.TabIndex = 11
            Me.PromptFGColBT.Text = "Text Colour"
            Me.PromptFGColBT.UseVisualStyleBackColor = True
            '
            'VersionLB
            '
            Me.VersionLB.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
            Me.VersionLB.AutoSize = True
            Me.VersionLB.Location = New System.Drawing.Point(1101, 683)
            Me.VersionLB.Name = "VersionLB"
            Me.VersionLB.Size = New System.Drawing.Size(82, 13)
            Me.VersionLB.TabIndex = 17
            Me.VersionLB.Text = "Version Number"
            Me.VersionLB.TextAlign = System.Drawing.ContentAlignment.BottomRight
            '
            'Speech
            '
            Me.Speech.Controls.Add(Me.AudioLevelTrB)
            Me.Speech.Controls.Add(Me.Label96)
            Me.Speech.Controls.Add(Me.AudioLevelTB)
            Me.Speech.Controls.Add(Me.srRTB)
            Me.Speech.Controls.Add(Me.Button23)
            Me.Speech.Controls.Add(Me.Label95)
            Me.Speech.Location = New System.Drawing.Point(4, 28)
            Me.Speech.Name = "Speech"
            Me.Speech.Padding = New System.Windows.Forms.Padding(3)
            Me.Speech.Size = New System.Drawing.Size(1135, 701)
            Me.Speech.TabIndex = 11
            Me.Speech.Text = "Speech"
            Me.Speech.UseVisualStyleBackColor = True
            '
            'AudioLevelTrB
            '
            Me.AudioLevelTrB.Location = New System.Drawing.Point(544, 94)
            Me.AudioLevelTrB.Maximum = 100
            Me.AudioLevelTrB.Name = "AudioLevelTrB"
            Me.AudioLevelTrB.Size = New System.Drawing.Size(104, 45)
            Me.AudioLevelTrB.TabIndex = 5
            '
            'Label96
            '
            Me.Label96.AutoSize = True
            Me.Label96.Location = New System.Drawing.Point(475, 94)
            Me.Label96.Name = "Label96"
            Me.Label96.Size = New System.Drawing.Size(63, 13)
            Me.Label96.TabIndex = 4
            Me.Label96.Text = "Audio Level"
            '
            'AudioLevelTB
            '
            Me.AudioLevelTB.Location = New System.Drawing.Point(409, 91)
            Me.AudioLevelTB.Name = "AudioLevelTB"
            Me.AudioLevelTB.Size = New System.Drawing.Size(60, 20)
            Me.AudioLevelTB.TabIndex = 3
            '
            'srRTB
            '
            Me.srRTB.Location = New System.Drawing.Point(11, 91)
            Me.srRTB.Name = "srRTB"
            Me.srRTB.Size = New System.Drawing.Size(375, 275)
            Me.srRTB.TabIndex = 2
            Me.srRTB.Text = ""
            '
            'Button23
            '
            Me.Button23.Location = New System.Drawing.Point(11, 45)
            Me.Button23.Name = "Button23"
            Me.Button23.Size = New System.Drawing.Size(75, 23)
            Me.Button23.TabIndex = 1
            Me.Button23.Text = "Initialise"
            Me.Button23.UseVisualStyleBackColor = True
            '
            'Label95
            '
            Me.Label95.AutoSize = True
            Me.Label95.Location = New System.Drawing.Point(8, 14)
            Me.Label95.Name = "Label95"
            Me.Label95.Size = New System.Drawing.Size(73, 13)
            Me.Label95.TabIndex = 0
            Me.Label95.Text = "Speech Tests"
            '
            'InfoBox
            '
            Me.InfoBox.Dock = System.Windows.Forms.DockStyle.Fill
            Me.InfoBox.Location = New System.Drawing.Point(0, 0)
            Me.InfoBox.Name = "InfoBox"
            Me.InfoBox.ReadOnly = True
            Me.InfoBox.Size = New System.Drawing.Size(96, 100)
            Me.InfoBox.TabIndex = 1
            Me.InfoBox.Text = "Info Box" & Global.Microsoft.VisualBasic.ChrW(10)
            Me.InfoBox.WordWrap = False
            '
            'NotifyIcon1
            '
            Me.NotifyIcon1.ContextMenuStrip = Me.ContextMain
            Me.NotifyIcon1.Icon = CType(resources.GetObject("NotifyIcon1.Icon"), System.Drawing.Icon)
            Me.NotifyIcon1.Text = "GEmvoy"
            Me.NotifyIcon1.Visible = True
            '
            'ContextMain
            '
            Me.ContextMain.AutoClose = False
            Me.ContextMain.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.TITLE, Me.CMSysLB, Me.CMEmuLB, Me.CMGameLB, Me.GameSpecSettsContext, Me.SaveEmuSettsTitle, Me.PerGameOnEmuToolStripMenuItem, Me.PerGameOnGameToolStripMenuItem, Me.SaveEmuSettsSelCB, Me.ContextEmuSettsProfCB, Me.LoadToolStripMenuItem, Me.SAVEToolStripMenuItem, Me.LaunchToolStripMenuItem, Me.ToolStripComboBox1, Me.ContextLeaveMountChB, Me.GameFullBootToolStripMenuItem, Me.GameSetupBootToolStripMenuItem, Me.EmulatorToolStripMenuItem, Me.FoldersToolStripMenuItem, Me.OpenQuickalunchToolStripMenuItem, Me.OpenROMFolderToolStripMenuItem, Me.GEmvoyToolStripMenuItem, Me.FadeToolStripMenuItem, Me.CloseToolStripMenuItem, Me.ShowGEmvoyToolStripMenuItem, Me.ResetWindowToolStripMenuItem, Me.CloseGEmvoyConfigToolStripMenuItem})
            Me.ContextMain.Name = "ContextMenuStrip1"
            Me.ContextMain.ShowCheckMargin = True
            Me.ContextMain.ShowImageMargin = False
            Me.ContextMain.Size = New System.Drawing.Size(204, 613)
            '
            'TITLE
            '
            Me.TITLE.BackgroundImage = Global.My.Resources.Resources.greenBT
            Me.TITLE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.TITLE.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold)
            Me.TITLE.ForeColor = System.Drawing.SystemColors.ControlLightLight
            Me.TITLE.Image = Global.My.Resources.Resources.FootLogo
            Me.TITLE.Name = "TITLE"
            Me.TITLE.Size = New System.Drawing.Size(203, 22)
            Me.TITLE.Text = "GEmvoy"
            '
            'CMSysLB
            '
            Me.CMSysLB.Enabled = False
            Me.CMSysLB.Name = "CMSysLB"
            Me.CMSysLB.Size = New System.Drawing.Size(203, 22)
            Me.CMSysLB.Text = "System"
            '
            'CMEmuLB
            '
            Me.CMEmuLB.Enabled = False
            Me.CMEmuLB.Name = "CMEmuLB"
            Me.CMEmuLB.Size = New System.Drawing.Size(203, 22)
            Me.CMEmuLB.Text = "Emulator"
            '
            'CMGameLB
            '
            Me.CMGameLB.Enabled = False
            Me.CMGameLB.Name = "CMGameLB"
            Me.CMGameLB.Size = New System.Drawing.Size(203, 22)
            Me.CMGameLB.Text = "Game"
            '
            'GameSpecSettsContext
            '
            Me.GameSpecSettsContext.Enabled = False
            Me.GameSpecSettsContext.Name = "GameSpecSettsContext"
            Me.GameSpecSettsContext.Size = New System.Drawing.Size(203, 22)
            Me.GameSpecSettsContext.Text = "Game Specific Settings?"
            '
            'SaveEmuSettsTitle
            '
            Me.SaveEmuSettsTitle.BackgroundImage = Global.My.Resources.Resources.background_grey
            Me.SaveEmuSettsTitle.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.SaveEmuSettsTitle.Enabled = False
            Me.SaveEmuSettsTitle.Name = "SaveEmuSettsTitle"
            Me.SaveEmuSettsTitle.Size = New System.Drawing.Size(203, 22)
            Me.SaveEmuSettsTitle.Text = "Emulator Settings:"
            '
            'PerGameOnEmuToolStripMenuItem
            '
            Me.PerGameOnEmuToolStripMenuItem.CheckOnClick = True
            Me.PerGameOnEmuToolStripMenuItem.Name = "PerGameOnEmuToolStripMenuItem"
            Me.PerGameOnEmuToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.PerGameOnEmuToolStripMenuItem.Text = "Per-Game on Emu?"
            '
            'PerGameOnGameToolStripMenuItem
            '
            Me.PerGameOnGameToolStripMenuItem.CheckOnClick = True
            Me.PerGameOnGameToolStripMenuItem.Name = "PerGameOnGameToolStripMenuItem"
            Me.PerGameOnGameToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.PerGameOnGameToolStripMenuItem.Text = "Per-Game on Game?"
            '
            'SaveEmuSettsSelCB
            '
            Me.SaveEmuSettsSelCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.SaveEmuSettsSelCB.DropDownWidth = 150
            Me.SaveEmuSettsSelCB.FlatStyle = System.Windows.Forms.FlatStyle.Standard
            Me.SaveEmuSettsSelCB.Items.AddRange(New Object() {"Use Emulator Profile", "Use Game Profile"})
            Me.SaveEmuSettsSelCB.Name = "SaveEmuSettsSelCB"
            Me.SaveEmuSettsSelCB.Size = New System.Drawing.Size(130, 23)
            '
            'ContextEmuSettsProfCB
            '
            Me.ContextEmuSettsProfCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.ContextEmuSettsProfCB.FlatStyle = System.Windows.Forms.FlatStyle.Standard
            Me.ContextEmuSettsProfCB.Name = "ContextEmuSettsProfCB"
            Me.ContextEmuSettsProfCB.Size = New System.Drawing.Size(130, 23)
            '
            'LoadToolStripMenuItem
            '
            Me.LoadToolStripMenuItem.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold)
            Me.LoadToolStripMenuItem.Name = "LoadToolStripMenuItem"
            Me.LoadToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.LoadToolStripMenuItem.Text = "LOAD PROFILE TO EMU"
            Me.LoadToolStripMenuItem.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal
            '
            'SAVEToolStripMenuItem
            '
            Me.SAVEToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.SAVEToolStripMenuItem.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold)
            Me.SAVEToolStripMenuItem.ForeColor = System.Drawing.SystemColors.ControlText
            Me.SAVEToolStripMenuItem.Name = "SAVEToolStripMenuItem"
            Me.SAVEToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.SAVEToolStripMenuItem.Text = "SAVE EMU TO PROFILE"
            '
            'LaunchToolStripMenuItem
            '
            Me.LaunchToolStripMenuItem.BackgroundImage = Global.My.Resources.Resources.background_grey
            Me.LaunchToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.LaunchToolStripMenuItem.Enabled = False
            Me.LaunchToolStripMenuItem.Name = "LaunchToolStripMenuItem"
            Me.LaunchToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.LaunchToolStripMenuItem.Text = "Launch"
            '
            'ToolStripComboBox1
            '
            Me.ToolStripComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.ToolStripComboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Standard
            Me.ToolStripComboBox1.Items.AddRange(New Object() {"Default for Game", "Selected Game"})
            Me.ToolStripComboBox1.Name = "ToolStripComboBox1"
            Me.ToolStripComboBox1.Size = New System.Drawing.Size(130, 23)
            '
            'ContextLeaveMountChB
            '
            Me.ContextLeaveMountChB.CheckOnClick = True
            Me.ContextLeaveMountChB.Name = "ContextLeaveMountChB"
            Me.ContextLeaveMountChB.Size = New System.Drawing.Size(203, 22)
            Me.ContextLeaveMountChB.Text = "Leave Mounted?"
            '
            'GameFullBootToolStripMenuItem
            '
            Me.GameFullBootToolStripMenuItem.Name = "GameFullBootToolStripMenuItem"
            Me.GameFullBootToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.GameFullBootToolStripMenuItem.Text = "Game - Full Boot"
            '
            'GameSetupBootToolStripMenuItem
            '
            Me.GameSetupBootToolStripMenuItem.Name = "GameSetupBootToolStripMenuItem"
            Me.GameSetupBootToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.GameSetupBootToolStripMenuItem.Text = "Game - Setup Boot"
            '
            'EmulatorToolStripMenuItem
            '
            Me.EmulatorToolStripMenuItem.Name = "EmulatorToolStripMenuItem"
            Me.EmulatorToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.EmulatorToolStripMenuItem.Text = "Emulator"
            '
            'FoldersToolStripMenuItem
            '
            Me.FoldersToolStripMenuItem.BackgroundImage = Global.My.Resources.Resources.background_grey
            Me.FoldersToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.FoldersToolStripMenuItem.Enabled = False
            Me.FoldersToolStripMenuItem.Name = "FoldersToolStripMenuItem"
            Me.FoldersToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.FoldersToolStripMenuItem.Text = "Folders"
            '
            'OpenQuickalunchToolStripMenuItem
            '
            Me.OpenQuickalunchToolStripMenuItem.Name = "OpenQuickalunchToolStripMenuItem"
            Me.OpenQuickalunchToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.OpenQuickalunchToolStripMenuItem.Text = "Open Quickalunch"
            '
            'OpenROMFolderToolStripMenuItem
            '
            Me.OpenROMFolderToolStripMenuItem.Name = "OpenROMFolderToolStripMenuItem"
            Me.OpenROMFolderToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.OpenROMFolderToolStripMenuItem.Text = "Open ROM Folder"
            '
            'GEmvoyToolStripMenuItem
            '
            Me.GEmvoyToolStripMenuItem.BackgroundImage = Global.My.Resources.Resources.background_grey
            Me.GEmvoyToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
            Me.GEmvoyToolStripMenuItem.Enabled = False
            Me.GEmvoyToolStripMenuItem.Name = "GEmvoyToolStripMenuItem"
            Me.GEmvoyToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.GEmvoyToolStripMenuItem.Text = "GEmvoy"
            '
            'FadeToolStripMenuItem
            '
            Me.FadeToolStripMenuItem.Name = "FadeToolStripMenuItem"
            Me.FadeToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.FadeToolStripMenuItem.Text = "Fade This Menu"
            '
            'CloseToolStripMenuItem
            '
            Me.CloseToolStripMenuItem.Name = "CloseToolStripMenuItem"
            Me.CloseToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.CloseToolStripMenuItem.Text = "Close This Menu"
            '
            'ShowGEmvoyToolStripMenuItem
            '
            Me.ShowGEmvoyToolStripMenuItem.Name = "ShowGEmvoyToolStripMenuItem"
            Me.ShowGEmvoyToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.ShowGEmvoyToolStripMenuItem.Text = "Show GEmvoy Config"
            '
            'ResetWindowToolStripMenuItem
            '
            Me.ResetWindowToolStripMenuItem.Name = "ResetWindowToolStripMenuItem"
            Me.ResetWindowToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.ResetWindowToolStripMenuItem.Text = "Reset Config Window"
            '
            'CloseGEmvoyConfigToolStripMenuItem
            '
            Me.CloseGEmvoyConfigToolStripMenuItem.Name = "CloseGEmvoyConfigToolStripMenuItem"
            Me.CloseGEmvoyConfigToolStripMenuItem.Size = New System.Drawing.Size(203, 22)
            Me.CloseGEmvoyConfigToolStripMenuItem.Text = "Close GEmvoy Config"
            '
            'GPTimer
            '
            Me.GPTimer.Interval = 200
            '
            'GemDSConfig
            '
            Me.GemDSConfig.DataSetName = "GemDS"
            Me.GemDSConfig.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema
            '
            'SpeechTimer
            '
            '
            'Configuration
            '
            Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
            Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
            Me.BackColor = System.Drawing.SystemColors.Control
            Me.ClientSize = New System.Drawing.Size(1143, 789)
            Me.Controls.Add(Me.TabsPN)
            Me.Controls.Add(Me.TopPN)
            Me.DoubleBuffered = True
            Me.HelpButton = True
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "Configuration"
            Me.StartPosition = System.Windows.Forms.FormStartPosition.Manual
            Me.Text = "Configuration"
            GroupBox29.ResumeLayout(False)
            CType(Me.GamePGSettsDGV, System.ComponentModel.ISupportInitialize).EndInit()
            GroupBox26.ResumeLayout(False)
            CType(Me.EmuSettsProfsDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.TopPN.ResumeLayout(False)
            Me.TopPN.PerformLayout()
            CType(Me.EmuSettsIndicatorPB, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBox5, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBox4, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox35.ResumeLayout(False)
            Me.GroupBox35.PerformLayout()
            CType(Me.LogoPB, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox9.ResumeLayout(False)
            CType(Me.Sys_SAppsDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox19.ResumeLayout(False)
            CType(Me.SysDbInfoDGV, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBox10, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.SnapGamma, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.SnapContrast, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.SnapBrightness, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.SnapRed, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.SnapGreen, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.SnapBlue, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.DialoguePrevPB, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox14.ResumeLayout(False)
            Me.GroupBox14.PerformLayout()
            CType(Me.FormText, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBox6, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBox7, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBox8, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBox9, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.EmuSettsDL, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.DonateBT, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.FormBG, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.DatagridHeadersBG, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.DatagridBG, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.ReadOnlyBG, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.ButtonsBG, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.DropdownBG, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.TextboxBG, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.ReadOnlyText, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.DropdownText, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.FreeText, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.TopPanelBG, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.DatagridText, System.ComponentModel.ISupportInitialize).EndInit()
            Me.SysSettsGB.ResumeLayout(False)
            Me.SysSettsGB.PerformLayout()
            Me.TabsPN.ResumeLayout(False)
            Me.MainPanelSplit.Panel1.ResumeLayout(False)
            Me.MainPanelSplit.Panel2.ResumeLayout(False)
            Me.MainPanelSplit.ResumeLayout(False)
            Me.TabControl1.ResumeLayout(False)
            Me.SystemSetupsTab.ResumeLayout(False)
            Me.SysDGVSplit.Panel1.ResumeLayout(False)
            Me.SysDGVSplit.Panel2.ResumeLayout(False)
            Me.SysDGVSplit.ResumeLayout(False)
            Me.Panel3.ResumeLayout(False)
            Me.DEBUG.ResumeLayout(False)
            Me.DEBUG.PerformLayout()
            Me.GroupBox23.ResumeLayout(False)
            Me.GroupBox23.PerformLayout()
            CType(Me.PictureBox11, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox7.ResumeLayout(False)
            Me.GroupBox7.PerformLayout()
            Me.EmuSetupsTab.ResumeLayout(False)
            Me.SplitContainer1.Panel1.ResumeLayout(False)
            Me.SplitContainer1.Panel2.ResumeLayout(False)
            Me.SplitContainer1.ResumeLayout(False)
            Me.SplitContainer3.Panel1.ResumeLayout(False)
            Me.SplitContainer3.Panel2.ResumeLayout(False)
            Me.SplitContainer3.ResumeLayout(False)
            Me.GroupBox15.ResumeLayout(False)
            CType(Me.EmuSuppAppsDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox16.ResumeLayout(False)
            CType(Me.EmuKeyRemapDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.SplitContainer2.Panel1.ResumeLayout(False)
            Me.SplitContainer2.Panel2.ResumeLayout(False)
            Me.SplitContainer2.ResumeLayout(False)
            Me.SplitContainer4.Panel1.ResumeLayout(False)
            Me.SplitContainer4.Panel2.ResumeLayout(False)
            Me.SplitContainer4.ResumeLayout(False)
            Me.SysEmusGB.ResumeLayout(False)
            CType(Me.SysEmusDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox37.ResumeLayout(False)
            CType(Me.EmuConfigAppsDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.SplitContainer8.Panel1.ResumeLayout(False)
            Me.SplitContainer8.Panel2.ResumeLayout(False)
            Me.SplitContainer8.ResumeLayout(False)
            Me.GroupBox18.ResumeLayout(False)
            Me.TableLayoutPanel4.ResumeLayout(False)
            CType(Me.EmusFileExtDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.Panel2.ResumeLayout(False)
            Me.GroupBox43.ResumeLayout(False)
            Me.GroupBox43.PerformLayout()
            Me.GroupBox28.ResumeLayout(False)
            Me.GroupBox28.PerformLayout()
            CType(Me.PictureBox12, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox24.ResumeLayout(False)
            Me.GroupBox24.PerformLayout()
            CType(Me.PictureBox14, System.ComponentModel.ISupportInitialize).EndInit()
            Me.EmuSetupGB.ResumeLayout(False)
            Me.EmuSetupGB.PerformLayout()
            Me.EmuSettsScriptGB.ResumeLayout(False)
            Me.EmuSettsScriptGB.PerformLayout()
            Me.GroupBox27.ResumeLayout(False)
            Me.GroupBox27.PerformLayout()
            Me.VirtDriveGB.ResumeLayout(False)
            Me.VirtDriveGB.PerformLayout()
            Me.GameSetupsTab.ResumeLayout(False)
            Me.GamesRHS.Panel1.ResumeLayout(False)
            Me.GamesRHS.Panel2.ResumeLayout(False)
            Me.GamesRHS.ResumeLayout(False)
            Me.SplitTop.Panel1.ResumeLayout(False)
            Me.SplitTop.Panel2.ResumeLayout(False)
            Me.SplitTop.ResumeLayout(False)
            Me.GroupBox17.ResumeLayout(False)
            CType(Me.GameSuppAppsDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GamesKeyRemapGB.ResumeLayout(False)
            CType(Me.GameKeyRemapDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.SplitBottom.Panel1.ResumeLayout(False)
            Me.SplitBottom.Panel2.ResumeLayout(False)
            Me.SplitBottom.ResumeLayout(False)
            Me.GamesGB.ResumeLayout(False)
            Me.TableLayoutPanel11.ResumeLayout(False)
            CType(Me.GamesListDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.Panel7.ResumeLayout(False)
            Me.GroupBox42.ResumeLayout(False)
            Me.GroupBox42.PerformLayout()
            CType(Me.PictureBox15, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox34.ResumeLayout(False)
            Me.GroupBox34.PerformLayout()
            CType(Me.PictureBox13, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GamesEmuSettsGB.ResumeLayout(False)
            Me.GamesEmuSettsGB.PerformLayout()
            Me.GroupBox33.ResumeLayout(False)
            Me.GroupBox33.PerformLayout()
            Me.GroupBox32.ResumeLayout(False)
            Me.GroupBox32.PerformLayout()
            Me.GameProfileGB.ResumeLayout(False)
            Me.GameProfileGB.PerformLayout()
            Me.ForGameGB.ResumeLayout(False)
            Me.ForGameGB.PerformLayout()
            Me.GroupBox20.ResumeLayout(False)
            Me.GroupBox20.PerformLayout()
            Me.EmuSettsTab.ResumeLayout(False)
            Me.SplitContainer5.Panel1.ResumeLayout(False)
            Me.SplitContainer5.Panel2.ResumeLayout(False)
            Me.SplitContainer5.ResumeLayout(False)
            Me.TableLayoutPanel2.ResumeLayout(False)
            Me.TableLayoutPanel2.PerformLayout()
            Me.GroupBox36.ResumeLayout(False)
            Me.GroupBox36.PerformLayout()
            Me.GroupBox10.ResumeLayout(False)
            Me.SplitContainer6.Panel1.ResumeLayout(False)
            Me.SplitContainer6.Panel2.ResumeLayout(False)
            Me.SplitContainer6.ResumeLayout(False)
            Me.TableLayoutPanel5.ResumeLayout(False)
            Me.TableLayoutPanel6.ResumeLayout(False)
            CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
            Me.SplitContainer7.Panel1.ResumeLayout(False)
            Me.SplitContainer7.Panel2.ResumeLayout(False)
            Me.SplitContainer7.ResumeLayout(False)
            Me.TableLayoutPanel8.ResumeLayout(False)
            Me.GroupBox22.ResumeLayout(False)
            Me.GroupBox22.PerformLayout()
            CType(Me.EmuSettsDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.TableLayoutPanel7.ResumeLayout(False)
            CType(Me.EmuSettsItemsDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.AlgSettsEdit.ResumeLayout(False)
            Me.AdditionalTab.ResumeLayout(False)
            Me.TableLayoutPanel3.ResumeLayout(False)
            Me.GroupBox8.ResumeLayout(False)
            Me.TableLayoutPanel10.ResumeLayout(False)
            CType(Me.SupportDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox13.ResumeLayout(False)
            CType(Me.VirtDrivesDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.ListsTab.ResumeLayout(False)
            Me.Panel4.ResumeLayout(False)
            Me.TableLayoutPanel1.ResumeLayout(False)
            Me.GroupBox2.ResumeLayout(False)
            CType(Me.EmuListDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox3.ResumeLayout(False)
            CType(Me.SysListDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox4.ResumeLayout(False)
            CType(Me.UserEmusDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox5.ResumeLayout(False)
            CType(Me.FileExtDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox21.ResumeLayout(False)
            Me.TableLayoutPanel9.ResumeLayout(False)
            CType(Me.KeysDGV, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox25.ResumeLayout(False)
            Me.GroupBox25.PerformLayout()
            Me.Camera.ResumeLayout(False)
            Me.Camera.PerformLayout()
            Me.GroupBox40.ResumeLayout(False)
            Me.GroupBox40.PerformLayout()
            Me.GroupBox39.ResumeLayout(False)
            Me.GroupBox39.PerformLayout()
            Me.GroupBox38.ResumeLayout(False)
            Me.ImageAdjustGB.ResumeLayout(False)
            CType(Me.CamSnap, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GETweaks.ResumeLayout(False)
            Me.GroupBox12.ResumeLayout(False)
            Me.GroupBox12.PerformLayout()
            CType(Me.MsgBoxPrevPB, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GETweaksAudioGB.ResumeLayout(False)
            Me.GETweaksAudioGB.PerformLayout()
            Me.SettingsTab.ResumeLayout(False)
            Me.SettingsTab.PerformLayout()
            Me.Panel1.ResumeLayout(False)
            Me.Panel1.PerformLayout()
            Me.GroupBox1.ResumeLayout(False)
            Me.GroupBox1.PerformLayout()
            Me.GroupBox41.ResumeLayout(False)
            Me.GroupBox41.PerformLayout()
            Me.GroupBox6.ResumeLayout(False)
            Me.GroupBox6.PerformLayout()
            Me.GEOPtsGB.ResumeLayout(False)
            Me.GEOPtsGB.PerformLayout()
            Me.GroupBox11.ResumeLayout(False)
            Me.GroupBox30.ResumeLayout(False)
            Me.GroupBox30.PerformLayout()
            Me.GroupBox31.ResumeLayout(False)
            Me.GroupBox31.PerformLayout()
            CType(Me.LogoPB2, System.ComponentModel.ISupportInitialize).EndInit()
            Me.Speech.ResumeLayout(False)
            Me.Speech.PerformLayout()
            CType(Me.AudioLevelTrB, System.ComponentModel.ISupportInitialize).EndInit()
            Me.ContextMain.ResumeLayout(False)
            CType(Me.GemDSConfig, System.ComponentModel.ISupportInitialize).EndInit()
            Me.ResumeLayout(False)

        End Sub

#End Region


        '***************** VARS *****************************#
        'Public Setts As New MySetts
        'Public GameExPath As String
        'Public db As New DebugConsole
        'Public ConfigDB As New DataSet

        'OPERATION
        Public FormLoadFinished As Boolean = False
        Public SysChanges As Boolean = False
        Public EmuChanges As Boolean = False
        Public GameChanges As Boolean = False
        Public GEInfo As New ReadGEInfo
        Public BootCycleComplete As Boolean = True

        Public cfdb As New DebugConsole

        Private isLoading As Boolean = False

        Public cflog As New Logger

        Public picker As New QLPicker

        Public EmuRun As BackgroundWorker = New BackgroundWorker

        Public PManagerHnd As Integer

        'QUERIES
        Public FullSystem As New DataTable
        Public SupportApps As New DataTable

        Public SAppsDV As New DataView
        Public EmuAppsDV As New DataView
        Public EmuConfigAppsDV As New DataView
        Public EmuMapKeysDV As New DataView
        Public EmuFileExtsDV As New DataView
        Public EmuSettsProfs As New DataView
        Public AllEmus As New DataView
        Public SelEmus As New DataView
        Public SysEmusDV As New DataView

        Public EmuBySystem As New DataView

        Public GameAppsDV As New DataView
        Public GameMapKeysDV As New DataView
        Public GamesListDV As New DataView

        Public WithEvents EmuSettsDV As New DataView
        Public WithEvents EmuSettsItemsDV As New DataView
        Public FiltEmusDV As New DataView

        Public EmuSettsProfDV As New DataView
        Public EmuSettsAlgoDV As New DataView

        Public GameSettsProfDV As New DataView
        Public GameSettsAlgoDV As New DataView
        Public GameSettsProfs As New DataView

        Public GameSelDV As New DataView
        Public GameSysSetupBS As New BindingSource


        'BG Workers
        Public LogoFade As New BackgroundWorker
        Private m_Alpha As Single = 0 ' Alpha on a 0-1 scale.
        Private m_DAlpha As Single = 0.05

        'KEYHOOKS
        Dim WithEvents kHook As New KeyboardHook
        Dim KeyOut As New WindowsInput.InputSimulator
        Public KeyOutDown As Boolean = False

        Public KeyPressDD As New List(Of String) From {"Press", "Down", "Up", "Down,Up", "Toggle"}
        Public SettsType As New List(Of String) From {"Registry Item", "File", "Folder"}
        Public VDProducts As New List(Of String) From {"DaemonToolsLite", "Custom"}

        'WEBCAMS
        Public Cams As New List(Of WebEye.Controls.WinForms.WebCameraControl.WebCameraId)
        Public WorkingImage As Bitmap

        'Unzip
        Public WithEvents unziptimer As New Timer

        'GAMEPAD
        'Public joy As New AForge.Controls.Joystick
        Public GP1 As Joystick
        Public Event GPButtonDown(ByVal Button As Integer)
        Public Event GPDpadDown(ByVal Dpad As Integer)
        Public SetGPSelect As Boolean = False
        Public SetCamHK As Boolean = False
        Public SetEmuHK As Boolean = False


        Public GamePadAvail As Boolean = False

        Public ThemeLoaded As Boolean = False


        'SPEECH RECOGNITION
        Public WithEvents sre As New Speech.Recognition.SpeechRecognitionEngine


        Private Sub Configuration_Shown(sender As Object, e As EventArgs) Handles Me.Shown

            Plugin.GEmvoy.WriteGVEntry("Size - on shown: " & Me.Size.ToString)
            Plugin.GEmvoy.WriteGVEntry("Location - on shown: " & Me.Location.ToString)

            'Me.Font = My.Settings.GUIFont
            'Me.Size = My.Settings.winSize
            'Me.Location = My.Settings.WinPos

            If Me.Width < 400 Or Me.Height < 300 Then
                Plugin.GEmvoy.WriteGVEntry("Configuration Window smaller than that permitted. Use default size + save")
                Me.Size = New Size(400, 300)
                Me.WindowState = FormWindowState.Normal
                My.Settings.winSize = Me.Size
                My.Settings.Save()
            End If

            If Me.WindowState <> FormWindowState.Maximized And Not (IsOnScreen(Me)) Then
                Plugin.GEmvoy.WriteGVEntry("Configuration Window offscreen. Use default position + save")
                Me.Location = New Point(10, 10)
                Me.WindowState = FormWindowState.Normal
                My.Settings.WinPos = Me.Location
                My.Settings.Save()
            End If




            'MinimisePluginManager()

  



        End Sub

        Private Sub Configuration_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            'Me.Text = PluginInfo.Name & " (" & PluginInfo.Version & ")"

            Me.Text = "GEmvoy - V" & GameEx.PluginInfo.Version
            VersionLB.Text = "V" & GameEx.PluginInfo.Version

            Plugin.GEmvoy.WriteGVEntry("Size Setts: " & My.Settings.winSize.ToString)
            Plugin.GEmvoy.WriteGVEntry("Location Setts: " & My.Settings.WinPos.ToString)

            Me.Font = My.Settings.GUIFont
            Me.Size = My.Settings.winSize
            Me.Location = My.Settings.WinPos
            Me.WindowState = My.Settings.WinState

            'Add Dataerror handler
            Dim alldgvs As New List(Of Control)
            For Each dgv As DataGridView In FindControlRecursive(alldgvs, Me, GetType(DataGridView))
                'Plugin.GEmvoy.WriteGVEntry("dgv: " & dgv.Name)
                AddHandler dgv.DataError, AddressOf Me.CatchDataError
            Next

            Initialisation()

            'RegPicker stuff
            Call SetupColumnHeaders()



            'TESTS =============================================
            TabControl1.TabPages.Remove(Speech)

            If My.Settings.CustomThemeStartup = True Then
                Button3_Click(Nothing, Nothing)
            End If

            FormLoadFinished = True

        End Sub

        Public Shared Function FindControlRecursive(ByVal list As List(Of Control), ByVal parent As Control, ByVal ctrlType As System.Type) As List(Of Control)
            If parent Is Nothing Then Return list
            If parent.GetType Is ctrlType Then
                list.Add(parent)
            End If
            For Each child As Control In parent.Controls
                FindControlRecursive(list, child, ctrlType)
            Next
            Return list
        End Function

        Private Sub PollGamePad() Handles GPTimer.Tick

            Dim PresGPStaus As Joystick.Status = GP1.GetCurrentStatus()

            If PresGPStaus.Buttons <> 0 Then
                RaiseEvent GPButtonDown(PresGPStaus.Buttons)
            End If

            If PresGPStaus.PointOfView <> -1 Then
                RaiseEvent GPDpadDown(PresGPStaus.PointOfView)
            End If

        End Sub

        'DROPDOWNS
        '******************************************************

    

        Sub RegeditExport(sKey As String, sFilename As String)
            Shell("regedit.exe /s /e " & Chr(34) & sFilename & Chr(34) & " " & Chr(34) & sKey & Chr(34), vbHide)
        End Sub

        Sub RegeditImport(sFilename As String)
            Shell("regedit.exe /s /c " & Chr(34) & sFilename & Chr(34), vbHide)
        End Sub

        <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
        Private Shared Function ShowWindowAsync(ByVal hwnd As IntPtr, ByVal nCmdShow As Integer) As Boolean
        End Function

        'Window Minimise
        Const SW_HIDE As Integer = 0
        Const SW_RESTORE As Integer = 1
        Const SW_MINIMIZE As Integer = 2
        Const SW_MAXIMIZE As Integer = 3

        '<DllImport("user32.dll", SetLastError:=True)> _
        'Private Shared Function FindWindow(lpClassName As String, lpWindowName As String) As IntPtr
        'End Function

        Public Sub MinimisePluginManager()
            'cfdb.echo("Minimise PluginManager Window")
            Dim hWnd As Integer
            Try
                Dim GEProc As Process() = Process.GetProcessesByName("Repository Manager")
                For Each proc As Process In GEProc
                    cfdb.echo("Win: " & proc.MainWindowTitle)
                    hWnd = CType(proc.MainWindowHandle, Integer)
                    PManagerHnd = hWnd
                    ShowWindowAsync(hWnd, SW_MINIMIZE)
                Next

                Dim GEProc2 As Process() = Process.GetProcessesByName("PluginManager")
                For Each proc As Process In GEProc2
                    cfdb.echo("Win: " & proc.MainWindowTitle)
                    hWnd = CType(proc.MainWindowHandle, Integer)
                    PManagerHnd = hWnd
                    ShowWindowAsync(hWnd, SW_MINIMIZE)
                Next

                'Dim hWnd As IntPtr = FindWindow("GameEx", Nothing)
                ' ShowWindowAsync(hWnd, SW_HIDE)

            Catch ex As Exception
                cfdb.echo(ex.Message, True)
                cfdb.echo(ex.StackTrace, True)
            End Try


        End Sub

        Public Sub RestorePluginManager()
            'cfdb.echo("Minimise PluginManager Window")
            Dim hWnd As Integer
            Try
                Dim GEProc As Process() = Process.GetProcessesByName("Repository Manager")
                For Each proc As Process In GEProc
                    cfdb.echo("Win: " & proc.MainWindowTitle)
                    hWnd = CType(proc.MainWindowHandle, Integer)
                    PManagerHnd = hWnd
                    ShowWindowAsync(hWnd, SW_RESTORE)
                Next

                Dim GEProc2 As Process() = Process.GetProcessesByName("PluginManager")
                For Each proc As Process In GEProc2
                    cfdb.echo("Win: " & proc.MainWindowTitle)
                    hWnd = CType(proc.MainWindowHandle, Integer)
                    PManagerHnd = hWnd
                    ShowWindowAsync(hWnd, SW_RESTORE)
                Next

                'Dim hWnd As IntPtr = FindWindow("GameEx", Nothing)
                ' ShowWindowAsync(hWnd, SW_HIDE)

            Catch ex As Exception
                cfdb.echo(ex.Message, True)
                cfdb.echo(ex.StackTrace, True)
            End Try

        End Sub

        Private Sub frmMain_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Activated
            isLoading = False
        End Sub



        ' ======================== REG PICKER ROUTINES ======================

        Private Sub GetSubKeys(ByVal key As RegistryKey, ByVal nodes As TreeNodeCollection)
            Dim root As TreeNode = nodes.Add(IO.Path.GetFileName(key.Name))

            For Each subkeyName As String In key.GetSubKeyNames
                Try
                    Me.GetSubKeys(key.OpenSubKey(subkeyName, True), root.Nodes)
                Catch ex As Exception
                    'The key could not be opened. Ignore and continue.
                End Try
            Next
        End Sub

        Private Sub LoadSubkeys(ByVal myKey As RegistryKey)
            ' freeze updating treeview
            tvRegistryKeys.BeginUpdate()
            ' remove any existing nodes
            For Each node As TreeNode In tvRegistryKeys.Nodes
                tvRegistryKeys.Nodes.RemoveAt(node.Index)
            Next
            ' update the user interface
            lblKeys.Text = "Keys (Populating...please wait...)"
            Me.Refresh()
            ' populate our selected key
            Me.GetSubKeys(myKey, Me.tvRegistryKeys.Nodes)
            ' update the interface
            lblKeys.Text = "Keys"
            ' repaint treeview
            tvRegistryKeys.EndUpdate()
        End Sub

#Region "TreeView Events"
        Private Sub tvRegistryKeys_AfterSelect(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeViewEventArgs) Handles tvRegistryKeys.AfterSelect
            If isLoading = True Then Exit Sub
            Dim Values() As String
            Dim strFP As String = tvRegistryKeys.SelectedNode.FullPath
            Dim myKey As RegistryKey
            Dim myNode As TreeNodeCollection = tvRegistryKeys.Nodes

            ' Setup our listview
            lvValues.BeginUpdate()
            lvValues.Clear()
            Call SetupColumnHeaders()
            ' Get which root key were in
            If InStr(strFP, "HKEY_CLASSES_ROOT", CompareMethod.Text) > 0 Then
                myKey = Registry.ClassesRoot
            ElseIf InStr(strFP, "HKEY_CURRENT_USER", CompareMethod.Text) > 0 Then
                myKey = Registry.CurrentUser
            ElseIf InStr(strFP, "HKEY_LOCAL_MACHINE", CompareMethod.Text) > 0 Then
                myKey = Registry.LocalMachine
            ElseIf InStr(strFP, "HKEY_USERS", CompareMethod.Text) > 0 Then
                myKey = Registry.Users
            Else
                myKey = Registry.CurrentConfig
            End If

            ' Check if the user picked a root key or a subkey
            Try
                Values = myKey.OpenSubKey(Mid(strFP, 1 + InStr(strFP, "\"))).GetValueNames()
                Array.Sort(Values)

                If Values.Length > 0 Then
                    Dim x As Integer = 0
                    For Each KeyValue As String In Values
                        If KeyValue = "" Then KeyValue = "(default)"
                        lvValues.Items.Add(KeyValue)
                        Dim myValue As String
                        Dim rk As RegistryKey = myKey.OpenSubKey(Mid(strFP, 1 + InStr(strFP, "\")), True)
                        lvValues.Items(x).SubItems.Add(rk.GetValue(KeyValue).GetType.ToString)
                        Try
                            myValue = CType(rk.GetValue(KeyValue), String)
                            rk.Close()
                        Catch
                            myValue = "Error getting value"
                        End Try
                        lvValues.Items(x).SubItems.Add(myValue)
                        x += 1
                    Next
                Else
                    lvValues.Items.Add("No values found")
                End If
            Catch ex As Exception
                'Debug.WriteLine(ex.Message)
                lvValues.Items.Add("Error accessing key")
            End Try
            btnSelectValue.Enabled = False
            btnSelectKey.Enabled = True
            ' Begin repainting the TreeView.
            lvValues.EndUpdate()
        End Sub
#End Region

#Region "Radio Buttons"
        Private Sub rbHKEY_CLASSES_ROOT_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbHKEY_CLASSES_ROOT.CheckedChanged
            Me.LoadSubkeys(Registry.ClassesRoot)
        End Sub

        Private Sub rbHKEY_CURRENT_USER_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbHKEY_CURRENT_USER.CheckedChanged
            Me.LoadSubkeys(Registry.CurrentUser)
        End Sub

        Private Sub rbHKEY_LOCAL_MACHINE_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbHKEY_LOCAL_MACHINE.CheckedChanged
            Me.LoadSubkeys(Registry.LocalMachine)
        End Sub

        Private Sub rbHKEY_USERS_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbHKEY_USERS.CheckedChanged
            Me.LoadSubkeys(Registry.Users)
        End Sub

        Private Sub rbHKEY_CURRENT_CONFIG_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbHKEY_CURRENT_CONFIG.CheckedChanged
            Me.LoadSubkeys(Registry.CurrentConfig)
        End Sub
#End Region

#Region "Command Buttons"
        Private Sub btnSelectValue_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSelectValue.Click
            'ADD REGISTRY VALUE
            Try
                If lvValues.SelectedItems(0).Text = "Error accessing key" Or lvValues.SelectedItems(0).Text = "No values found" Then
                    Return
                End If

                cfdb.echo("Selected value is:" & vbCrLf & tvRegistryKeys.SelectedNode.FullPath & "\" & lvValues.SelectedItems(0).Text)

            Dim newrow As DataRow = GemDSConfig.Tables("EmuSettsItems").NewRow
            newrow.Item("Name") = "Value: " & lvValues.SelectedItems(0).Text
            newrow.Item("EmuSettsID") = EmuSettsIDTB.Text
            newrow.Item("ItemText") = tvRegistryKeys.SelectedNode.FullPath & "\" & lvValues.SelectedItems(0).Text
            newrow.Item("Type") = "Registry Item"
            newrow.Item("BackupOnly") = False
            newrow.Item("Info") = ""
                GemDSConfig.Tables("EmuSettsItems").Rows.Add(newrow)

            Catch ex As Exception
                cflog.err("Error in adding reg value - likely none navigated to...")
                MsgBox("Cannot add registry item. Please ensure a registry key or value is selected then try again", MsgBoxStyle.Exclamation, "Cannot add registry item")
                Return
            End Try

        End Sub

        Private Sub btnSelectKey_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSelectKey.Click
            'ADD REGISTRY KEY
            Try
                If Len(tvRegistryKeys.SelectedNode.Text) = 0 Then Return
                cfdb.echo("Selected key is:" & vbCrLf & tvRegistryKeys.SelectedNode.FullPath)

                Dim newrow As DataRow = GemDSConfig.Tables("EmuSettsItems").NewRow
                newrow.Item("Name") = "Node: " & tvRegistryKeys.SelectedNode.Text
                newrow.Item("EmuSettsID") = EmuSettsIDTB.Text
                newrow.Item("ItemText") = tvRegistryKeys.SelectedNode.FullPath
                newrow.Item("Type") = "Registry Item"
                newrow.Item("BackupOnly") = False
                newrow.Item("Info") = ""
                GemDSConfig.Tables("EmuSettsItems").Rows.Add(newrow)
            Catch ex As Exception
                cflog.err("Error in adding reg value - likely none navigated to...")
                MsgBox("Cannot add registry item. Please ensure a registry key or value is selected then try again", MsgBoxStyle.Exclamation, "Cannot add registry item")
                Return
            End Try


        End Sub
#End Region

#Region "Listview routines"
        Private Sub lvValues_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles lvValues.SelectedIndexChanged
            btnSelectValue.Enabled = True
            btnSelectKey.Enabled = False
            If lvValues.SelectedIndices.Count = 0 Then
                btnSelectValue.Enabled = False
            Else
                If lvValues.SelectedItems(0).Text = "Error accessing key" Or lvValues.SelectedItems(0).Text = "No values found" Then btnSelectValue.Enabled = False
            End If
        End Sub

        Private Sub SetupColumnHeaders()
            Dim intTotalWidth As Integer = lvValues.Width - 5
            lvValues.Columns.Add("Name", CInt(intTotalWidth * 0.4), HorizontalAlignment.Left)
            lvValues.Columns.Add("Data Type", CInt(intTotalWidth * 0.2), HorizontalAlignment.Left)
            lvValues.Columns.Add("Data (as string)", CInt(intTotalWidth * 0.4), HorizontalAlignment.Left)
        End Sub

#End Region

        ' ======================== END REG PICKER ROUTINES ======================


        Private Sub InitialiseMainProc(mp As MainProcess)
            'Setup Main process
            With mp
                .Log = cflog
                .DebugConsole = cfdb
                .DataSet = GemDSConfig
            End With
        End Sub

        Private Sub Initialisation()

            unziptimer.Interval = 500

            'Log
            If GEmvoy.Setts.VerboseLog = True Then
                cfdb.Show()
            End If
            cflog.Initialize("GEmvoy", GameEx.PluginInfo.Version, GEmvoy.GameExPath & "\PLUGINS\GEmvoy\ConfigLog.txt",
               GEmvoy.Setts.SysDetsInLog, GEmvoy.Setts.LogToDebug, cfdb)
            cflog.echo("GEMVOY APP LOADED....")
            cflog.echo("Run on: " & DateTime.Now)
            cflog.echo("GameEx Path: " & GEmvoy.GameExPath)
            cflog.echo("XML File: " & GEmvoy.XMLFile)
            cflog.echo("CONFIGURATION APP LOADED...")

            cfdb.WindowTitle = "GEmvoy Configuration debug"
            cfdb.TimeStamp = True

            cfdb.echo("", False, "Start of configuration log")
            cfdb.echo("Starting position: " & Me.Location.ToString)
            cfdb.echo("Starting size: " & Me.Size.ToString)

            'Check Starting window pos
            'If Not (IsOnScreen(Me)) Then
            '    Me.Location = New System.Drawing.Point(10, 10)
            'End If

            'If Me.Size.Height < 400 Or Me.Size.Width < 600 Then
            '    Me.Size = New Size(600, 400)
            'End If

            InitialiseVars() ' include gamepads

            InitialiseForm()

            kHook.InstallHook()


            ' RemoveHandler EmuRun.DoWork, AddressOf EmuRun
            RemoveHandler EmuRun.DoWork, AddressOf EmuRunWait
            AddHandler EmuRun.DoWork, AddressOf EmuRunWait
            AddHandler LogoFade.DoWork, AddressOf LogoFader_DoWork

            'Last
            cfdb.echo("", False, "End of initialisation")

        End Sub

        Public Function IsOnScreen(ByVal form As Form) As Boolean
            Dim screens() As Screen = Screen.AllScreens

            For Each scrn As Screen In screens
                Dim formRectangle As Rectangle = New Rectangle(form.Left, form.Top, form.Width, form.Height)

                If scrn.WorkingArea.Contains(formRectangle) Then
                    Return True
                End If
            Next

            Return False
        End Function

        Private Sub InitialiseVars()
            'Dataset:
            cfdb.echo("XML PATH:" & GEmvoy.XMLFile)
            XMLOps.LoadXML(GemDSConfig, GEmvoy.XMLFile)
            GEInfo.GEPath = GEmvoy.GameExPath
            cfdb.echo("Vars Initialised")

            'Enumerate cams
            For Each cam As WebEye.Controls.WinForms.WebCameraControl.WebCameraId In WCPrev.GetVideoCaptureDevices
                Cams.Add(cam)
            Next

            'Gamepads:
            InitGamepads()

        End Sub

        Private Sub InitGamepads()

            cflog.echo("Checking for Gamepads:")
            Dim devices As List(Of Joystick.DeviceInfo) = Joystick.GetAvailableDevices()
            If devices.Count < 1 Then
                cflog.echo("No Gamepads plugged in")
                GamePadAvail = False
            Else
                cflog.echo("Gamepads Found:")
                For Each di As Joystick.DeviceInfo In devices
                    cflog.echo("Device: " & di.ID & ", " & di.Name & ", " & di.Axes & ", " & di.Buttons)
                Next
                GP1 = New Joystick(0)
                GamePadAvail = True
            End If
        End Sub

        Private Function NoGPConnected() As Boolean
            'Dim devices As List(Of Joystick.DeviceInfo) = Joystick.GetAvailableDevices()
            'If devices.Count < 1 Then
            '    Return False
            'End If
            'Return True
        End Function

        Private Sub InitialiseForm()

            cfdb.echo("", False, "initialise Form started")

            'Do Prompt Setts
            PromptEgTB.BackColor = GEmvoy.Setts.MsgBGCol
            PromptEgTB.ForeColor = GEmvoy.Setts.MsgFGCol
            PromptEgTB.Font = GEmvoy.Setts.MsgFont

            'Enabkle/disable buttons
            EmuDelBT.Enabled = GEmvoy.Setts.AllowEmuDelete

            If GEmvoy.Setts.MsgImg <> "" Then
                Try
                    LogoPB2.Image = Image.FromFile(GEmvoy.Setts.MsgImg)
                Catch
                    LogoPB2.Image = My.Resources.FootLogo
                End Try

            End If

            InfoBox.Text = My.Resources.CmdTokens

            MainPanelSplit.Panel2Collapsed = True

            LoadCheckboxes()
            cfdb.echo("Checkboxes Loaded")

            LoadTBs()
            cfdb.echo("Textboxes populated")

            ConstructQueryTables()
            cfdb.echo("Dataviews done")

            SetupDDs()
            cfdb.echo("DropDowns setup")

            LoadDropDowns()
            cfdb.echo("Dropdowns populated")

            setupGroupBoxes()
            cfdb.echo("Groupboxes setup")

            LoadColors()


            SetupDGVS()
            cfdb.echo("DGVS setup")
            'Load Index 0 System and Emu setups
            SysGoBT_Click(Nothing, Nothing)
            LoadEmuSetupBT_Click(Nothing, Nothing)
            'LoadEmuSetup()
            cfdb.echo("END Initialise form")

            If My.Settings.AdvAlgos = True Then
                AlgSettsEdit.Enabled = True
                EmuSettsItemsDGV.Enabled = True
            Else
                AlgSettsEdit.Enabled = False
                EmuSettsItemsDGV.Enabled = False
            End If

            If My.Settings.AllowSysDel = True Then
                SysDeleteBT.Enabled = True
                SysSetupDelChB.Checked = True
            Else
                SysDeleteBT.Enabled = False
                SysSetupDelChB.Checked = False
            End If

            TabControl1.SelectedIndex = 2

            'pick first system and click
            SysSetupSelCB.SelectedIndex = 0
            SysSetupSelCB_SelectedIndexChanged(Nothing, Nothing)

            'Snap Cam
            Try
                WCSelect.SelectedIndex = GEmvoy.Setts.CamNumber
            Catch
            End Try

            SnapBrightness.Value = GEmvoy.Setts.CamBrightness
            SnapContrast.Value = GEmvoy.Setts.CamContrast
            SnapGamma.Value = GEmvoy.Setts.CamGamma
            SnapRed.Value = GEmvoy.Setts.CamRed
            SnapGreen.Value = GEmvoy.Setts.CamGreen
            SnapBlue.Value = GEmvoy.Setts.CamBlue
            SnapMode.Text = GEmvoy.Setts.CamMode
            SnapGap.Text = GEmvoy.Setts.CamSnapGap
            BurstWait.Text = GEmvoy.Setts.CamBurstWait
            BurstNumber.Text = GEmvoy.Setts.CamBurstNumber
            SnapProbability.Text = GEmvoy.Setts.CamSnapProb
            SnapFor.Text = GEmvoy.Setts.CamCaptureFor
            SnapPath.Text = GEmvoy.Setts.CamPath
            SnapDateFolders.Checked = GEmvoy.Setts.CamDateFolder
            SnapPIP.Checked = GEmvoy.Setts.CamPIP
            SnapStamp.Checked = GEmvoy.Setts.CamStamp
            CamSnapEnabled.Checked = GEmvoy.Setts.CamEnabled
            UseHotkeyChB.Checked = GEmvoy.Setts.CamUseHotkey
            WarnOnBootChB.Checked = GEmvoy.Setts.CamWarn

            Dim kc As New KeysConverter
            Dim KeyCode = GEmvoy.Setts.CamHotkey
            Dim FriendlyName As String = kc.ConvertToString(KeyCode)
            SnapKeyName.Text = FriendlyName

            'MsgBox Previewr
            MsgBoxPrevPB.Image = SafeImageFromFile(Plugin.GEmvoy.GEThemeMediaPath & "StartBak.png")
            DialoguePrevPB.Image = SafeImageFromFile(Plugin.GEmvoy.GEThemeMediaPath & "dialog_template.png")

            With GamesNarrowCB
                .DataSource = GamesListDV
                .DisplayMember = "UniqueGameName"
                .ValueMember = "ID"
            End With

        End Sub

        Private Sub LoadColors()
            FormText.BackColor = My.Settings.ColFormText
            FreeText.BackColor = My.Settings.ColFreeText
            DropdownText.BackColor = My.Settings.ColDropdownText
            ReadOnlyText.BackColor = My.Settings.ColReadOnlyText
            TextboxBG.BackColor = My.Settings.ColTextboxBG
            DropdownBG.BackColor = My.Settings.ColDropdownBG
            ReadOnlyBG.BackColor = My.Settings.ColReadOnlyBG
            ButtonsBG.BackColor = My.Settings.ColButtonsBG
            FormBG.BackColor = My.Settings.ColFormBG
            TopPanelBG.BackColor = My.Settings.ColTopPanelBG
            DatagridBG.BackColor = My.Settings.ColDatagidBG
            DatagridHeadersBG.BackColor = My.Settings.ColDatagridHeaders
            DatagridText.BackColor = My.Settings.ColDatagridText
        End Sub


        Private Sub setupGroupBoxes()
            'Systems
            For Each ctl As Control In SysSettsGB.Controls
                ctl.Tag = ctl.BackColor.ToArgb & "," & ctl.ForeColor.ToArgb
                AddHandler ctl.Validated, AddressOf GroupBoxCtrlsChanged
            Next

            'Emulators
            Dim EmuGBs As New List(Of GroupBox) From {EmuSetupGB, VirtDriveGB, EmuSettsScriptGB}
            For Each gb As GroupBox In EmuGBs
                For Each ctl As Control In gb.Controls
                    ctl.Tag = ctl.BackColor.ToArgb & "," & ctl.ForeColor.ToArgb
                    AddHandler ctl.Validated, AddressOf GroupBoxCtrlsChanged
                Next
            Next

            'Games
            Dim GameGBs As New List(Of GroupBox) From {GameProfileGB, GamesEmuSettsGB}
            For Each gb As GroupBox In GameGBs
                For Each ctl As Control In gb.Controls
                    ctl.Tag = ctl.BackColor.ToArgb & "," & ctl.ForeColor.ToArgb
                    AddHandler ctl.Validated, AddressOf GroupBoxCtrlsChanged
                Next
            Next

            DEBUG.Visible = My.Settings.ConfigDebug

        End Sub

        Private Sub GroupBoxCtrlsChanged(sender As Object, e As EventArgs)
            sender.BackColor = Color.Red
            sender.forecolor = Color.White
            cfdb.echo(sender.parent.name, False, "GB Name")
            If sender.parent.name = "SysSettsGB" And FormLoadFinished = True Then
                SysChanges = True
            ElseIf (sender.parent.name = "GameProfileGB" Or
                sender.parent.name = "GamesEmuSettsGB") And FormLoadFinished = True Then
                GameChanges = True
            ElseIf (sender.parent.name = "EmuSetupGB" Or
                sender.parent.name = "VirtDriveGB" Or
                sender.parent.name = "EmuSettsScriptGB") And FormLoadFinished = True Then
                EmuChanges = True
            End If
        End Sub


        Private Sub TabControl_DrawItem(sender As Object, e As System.Windows.Forms.DrawItemEventArgs) Handles TabControl1.DrawItem



            '  Identify which TabPage is currently selected
            Dim SelectedTab As TabPage = TabControl1.TabPages(e.Index)

            SelectedTab.Width = SelectedTab.Width + 20


            '  Get the area of the header of this TabPage
            Dim HeaderRect As Rectangle = TabControl1.GetTabRect(e.Index)

            '  Create two Brushes to paint the Text
            Dim BlackTextBrush As  SolidBrush
            If ThemeLoaded = False Then
                BlackTextBrush = New SolidBrush(SystemColors.ControlText)
            Else
                BlackTextBrush = New SolidBrush(My.Settings.ColFormText)
            End If

            Dim RedTextBrush As New SolidBrush(Color.Red)

            Dim GreenTextBrush As SolidBrush
            If ThemeLoaded = False Then
                GreenTextBrush = New SolidBrush(Color.Green)
            Else
                GreenTextBrush = New SolidBrush(My.Settings.ColButtonsBG)
            End If


            '  Set the Alignment of the Text
            Dim sf As New StringFormat()
            sf.Alignment = StringAlignment.Center
            sf.LineAlignment = StringAlignment.Center
            Dim ItalFont As New Font(TabControl1.Font.Name, TabControl1.Font.Size, FontStyle.Bold)
            Dim RegFont As New Font(TabControl1.Font.Name, TabControl1.Font.Size, FontStyle.Regular)

            If ThemeLoaded = True Then
                e.Graphics.FillRectangle(New SolidBrush(My.Settings.ColFormBG), e.Bounds)
            End If


            '  Paint the Text using the appropriate Bold and Color setting 
            If Convert.ToBoolean(e.State And DrawItemState.Selected) Then

                e.Graphics.DrawString(SelectedTab.Text, ItalFont, GreenTextBrush, HeaderRect, sf)


            ElseIf SelectedTab.Name = "SystemSetupsTab" Then
                If SysChanges = True Then
                    e.Graphics.DrawString(SelectedTab.Text, RegFont, RedTextBrush, HeaderRect, sf)
                Else
                    e.Graphics.DrawString(SelectedTab.Text, e.Font, BlackTextBrush, HeaderRect, sf)
                End If

            ElseIf SelectedTab.Name = "EmuSetupsTab" Then
                If EmuChanges = True Then
                    e.Graphics.DrawString(SelectedTab.Text, RegFont, RedTextBrush, HeaderRect, sf)
                Else
                    e.Graphics.DrawString(SelectedTab.Text, e.Font, BlackTextBrush, HeaderRect, sf)
                End If

            ElseIf SelectedTab.Name = "GameSetupsTab" Then
                If GameChanges = True Then
                    e.Graphics.DrawString(SelectedTab.Text, RegFont, RedTextBrush, HeaderRect, sf)
                Else
                    e.Graphics.DrawString(SelectedTab.Text, e.Font, BlackTextBrush, HeaderRect, sf)
                End If

            Else
                e.Graphics.DrawString(SelectedTab.Text, e.Font, BlackTextBrush, HeaderRect, sf)
            End If

            '  Job done - dispose of the Brushes
            BlackTextBrush.Dispose()
            RedTextBrush.Dispose()
            GreenTextBrush.Dispose()
        End Sub

        Public Sub SetupDDs()

            'Systems
            Dim SysSetupSelDV As New DataView(GemDSConfig.Tables("SystemsSetups"))
            SysSetupSelDV.Sort = "Name Asc"
            With SysSetupSelCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                ' .DataSource = GemDSConfig.Tables("SystemsSetups").Select(True, "Name Asc")
                .DataSource = SysSetupSelDV
                .SelectedIndex = 0
            End With

            With GEEmuCB
                .DisplayMember = "StartPageName"
                .ValueMember = "ID"
                .DataSource = GemDSConfig.Tables("UserEmulators").Select(True, "StartPageName Asc")
                '.SelectedIndex = 0
            End With

            With SysCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                .DataSource = GemDSConfig.SystemsList
            End With

            With QLaunchPromptCB
                .DataSource = GEmvoy.QlaunchPrompt
            End With

            'EMU

            With EmuSetupCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                Dim GameEmuSetupBS As New BindingSource
                GameEmuSetupBS.DataSource = AllEmus
                'GameEmuSetupBS.Filter = "SystemID = " & SysSetupSelCB.SelectedValue
                .DataSource = GameEmuSetupBS
            End With

            With EmuSysCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                Dim EmuSysBS As New BindingSource
                EmuSysBS.DataSource = GemDSConfig.Tables("SystemsList")
                .DataSource = EmuSysBS
            End With

            With EmuListnameCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                .DataSource = GemDSConfig.Tables("EmulatorList")
            End With


            With DriveTypeCB
                .DataSource = GEmvoy.DriveTypes
            End With

            With VirtDriveCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                .DataSource = GemDSConfig.Tables("VirtualDrives")
            End With

            With EmuSelCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                Dim GameEmuSetupBS As New BindingSource
                GameEmuSetupBS.DataSource = AllEmus
                GameEmuSetupBS.Sort = "Name"
                .DataSource = GameEmuSetupBS

                ' .DataSource = EmuSelDV
            End With


            With EmuSettsAlgoCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                .DataSource = EmuSettsAlgoDV
            End With

            With EmuSettsProfCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                .DataSource = EmuSettsProfDV
            End With

            'GAMES

            With GameEmuSetupCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                Dim GameEmuSetupBS As New BindingSource
                GameEmuSetupBS.DataSource = AllEmus
                ' GameEmuSetupBS.Filter = "SystemID = " & SysIDTB.Text
                .DataSource = GameEmuSetupBS
            End With



            GameSysSetupBS.DataSource = GemDSConfig.Tables("SystemsSetups")
            With GameSysSetupCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                .DataSource = GameSysSetupBS
            End With
            ' GameSysSetupBS.Filter = "ID = '" & SysSetupSelCB.SelectedValue & "'"

            With GameSelCB
                ' .Sorted = True
                .DisplayMember = "UniqueGameName"
                .ValueMember = "ID"
                .DataSource = GameSelDV
            End With

            With GameInPromptCB
                Dim GameInPromptBS As New BindingSource
                GameInPromptBS.DataSource = GEmvoy.QlaunchPrompt
                .DataSource = GameInPromptBS
            End With

            With GameQLaunchPrompt
                .Items.Add("As per System Setup")
                For Each prompt As String In GEmvoy.QlaunchPrompt
                    .Items.Add(prompt)
                Next
            End With

            With PGSettsProfCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                .DataSource = GameSettsProfDV
            End With

            With PGSettsAlgCB
                .DisplayMember = "Name"
                .ValueMember = "ID"
                .DataSource = GameSettsAlgoDV
            End With

            'Webcameras
            For Each cam As WebEye.Controls.WinForms.WebCameraControl.WebCameraId In WCPrev.GetVideoCaptureDevices
                WCSelect.Items.Add(cam.Name)
            Next



        End Sub

        Private Sub LoadTBs()
            ZipExeTB.Text = GEmvoy.Setts.ZipExe
            DriveLtrTB.Text = GEmvoy.Setts.DefaultDrive

            'QLaunch Keys:
            KeepAlwysTB.Text = KeyCodeToName(GEmvoy.Setts.QLKeepAlwaysKey)
            KeepThisTB.Text = KeyCodeToName(GEmvoy.Setts.QLKeepOnceKey)
            DelAlwysTB.Text = KeyCodeToName(GEmvoy.Setts.QLDelAlwaysKey)
            DelThisTB.Text = KeyCodeToName(GEmvoy.Setts.QLDelOnceKey)
            SelTB.Text = KeyCodeToName(GEmvoy.Setts.QLSelectKey)

            ContextX.Text = My.Settings.ContextPos.X
            ContextY.Text = My.Settings.ContextPos.Y

            'GETweaks:
            GESoundFocus.Text = My.Settings.GESoundFocus
            GESoundIntro.Text = My.Settings.GESoundIntro
            GESoundLaunch.Text = My.Settings.GESoundLaunch
            GESoundSelect.Text = My.Settings.GESoundSelect

            MsgScaler.Text = My.Settings.GEMsgScale
            PaddingTB.Text = My.Settings.GEMsgPadding

            Dim kc As New KeysConverter
            Dim KeyCode = CInt(GEmvoy.Setts.GEEmuHotkey)
            Dim FriendlyName As String = kc.ConvertToString(KeyCode)
            GEEmuHotkeyTB.Text = FriendlyName

            GPSelSetTB.Text = NotNull([Enum].GetName(GetType(Joystick.Buttons), CInt(GEmvoy.Setts.QLGPSel)), "Combo")
            GPSelSetTB.Tag = GEmvoy.Setts.QLGPSel

            'cam gamepad hotkey:
            CamGPHotkeyTB.Text = NotNull([Enum].GetName(GetType(Joystick.Buttons), CInt(GEmvoy.Setts.CamGPhotkey)), "Combo")
            CamGPHotkeyTB.Tag = GEmvoy.Setts.CamGPhotkey
            EmuHKGPTB.Text = NotNull([Enum].GetName(GetType(Joystick.Buttons), CInt(GEmvoy.Setts.EmuGPhotkey)), "Combo")
            EmuHKGPTB.Tag = GEmvoy.Setts.EmuGPhotkey

            'Random Sounds:
            RandomINtroTB.Text = My.Settings.RndIntro
            RandomLaunchTB.Text = My.Settings.RndLaunch
            RandomLaunchChB.Checked = My.Settings.RndLaunchEnabled
            RandomIntroBTChB.Checked = My.Settings.RndIntroEnabled

            QLBaseTB.Text = My.Settings.BaseQLDir

            DbDirTB.Text = GEmvoy.Setts.DatabaseDir

            CloudDummyExtTB.Text = My.Settings.CloudDummyExt

        End Sub

        Private Sub LoadCheckboxes()

            ' MsgBox(GEmvoy.Setts.ShowDebug)

            'Setts>Logs
            ShowDebugCB.Checked = GEmvoy.Setts.ShowDebug
            Debug2Log.Checked = GEmvoy.Setts.LogToDebug
            SysDetsCB.Checked = GEmvoy.Setts.SysDetsInLog
            VerbLogCB.Checked = GEmvoy.Setts.VerboseLog
            SettsShowZipChB.Checked = GEmvoy.Setts.UnzipProg
            UnECMChB.Checked = GEmvoy.Setts.ShowUnECM

            SuppSettsAudioChB.Checked = GEmvoy.Setts.SuppSettsAudio

            DelQLChB.Checked = GEmvoy.Setts.DeleteQuicklaunch
            EmuDelChB.Checked = GEmvoy.Setts.AllowEmuDelete
            ShowTicker.Checked = GEmvoy.Setts.MsgTicker

            BootSelectedRB.Checked = True

            EnableAdv.Checked = My.Settings.AdvAlgos

            SysSetupDelChB.Checked = My.Settings.AllowSysDel

            ContextMoveChB.Checked = My.Settings.ContextMove

            MinConfig.Checked = My.Settings.ConfigMin

            DebugMode.Checked = My.Settings.ConfigDebug

            CheckBox1.Checked = My.Settings.AutoGameSwitch

            CustmLoadStartup.Checked = My.Settings.CustomThemeStartup

            NetZipToLocalChB.Checked = GEmvoy.Setts.NetZipToLocal

            StripBracketsChB.Checked = GEmvoy.Setts.StripBrackets

        End Sub

        Private Sub LoadDropDowns()
            'EmuSettsTypeCB.Text = "Emulator"
            GamesListFilterCB.SelectedIndex = 0
            DialogPosCB.SelectedIndex = 0
        End Sub

        Private Sub SetupDGVS()

            'UserEmus
            With UserEmusDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .DataSource = GemDSConfig.Tables("UserEmulators")
                .Columns("ID").Visible = False
                .Columns("UserEmuGEID").HeaderText = "GEx ID"
                .Columns("UserEmuGEID").DisplayIndex = 0
                .Columns("Enabled").DisplayIndex = 1
                .Columns("Database").DisplayIndex = 5
                .Sort(UserEmusDGV.Columns("StartPageName"), System.ComponentModel.ListSortDirection.Ascending)
                .DefaultCellStyle.BackColor = Color.WhiteSmoke
                .DefaultCellStyle.ForeColor = Color.DarkSlateGray
            End With

            'EmuList
            With EmuListDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .DataSource = GemDSConfig.Tables("EmulatorList")
                .Columns("Name").DisplayIndex = 0
                .Columns("ID").Visible = False
                .Sort(EmuListDGV.Columns("Name"), System.ComponentModel.ListSortDirection.Ascending)
                .Rows(0).HeaderCell.Value = "Emulators"
            End With

            'SysList
            With SysListDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .DataSource = GemDSConfig.Tables("SystemsList")
                .Columns("Name").DisplayIndex = 0
                .Columns("ID").Visible = False
                .Sort(SysListDGV.Columns("Name"), System.ComponentModel.ListSortDirection.Ascending)
                .Rows(0).HeaderCell.Value = "Systems"
            End With

            'FileExt List
            With FileExtDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .DataSource = GemDSConfig.Tables("FileExts")
                .Columns("ID").Visible = False

                .Columns("Ext").HeaderText = "Extention"
                .Sort(FileExtDGV.Columns("Ext"), System.ComponentModel.ListSortDirection.Ascending)
                .Rows(0).HeaderCell.Value = "Ext"
            End With

            'Keys List
            With KeysDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .DataSource = GemDSConfig.Tables("Keys")
                .Columns("ID").Visible = False
                With .Columns("WinKeyCode")
                    .ReadOnly = True
                    '.DefaultCellStyle.BackColor = My.Settings.ColReadOnlyBG
                    .HeaderText = "Code"
                End With

                With .Columns("WinEnumName")
                    .ReadOnly = True
                    '.DefaultCellStyle.BackColor = My.Settings.ColReadOnlyBG
                    .HeaderText = "KeyName"
                End With
                If GemDSConfig.Tables("Keys").Rows.Count > 0 Then
                    .Sort(KeysDGV.Columns("WinKeyCode"), System.ComponentModel.ListSortDirection.Ascending)
                End If

                .Columns("VKeyCode").Visible = False

            End With

            'SupportAppsDGV
            With SupportDGV
                .AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells
                .AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells
                .ShowCellToolTips = True
                .MultiSelect = False
                .Columns.Add(New DataGridViewButtonColumn With {.DataPropertyName = "Exe",
                                                .Name = "Exe",
                                                .FlatStyle = FlatStyle.System,
                                                .ReadOnly = True})
                .Columns.Add(New DataGridViewButtonColumn With {.Text = "Launch",
                                                .UseColumnTextForButtonValue = True,
                                                .Name = "Launch",
                                                .DataPropertyName = "Launch"})

                .DataSource = GemDSConfig.Tables("SupportApps")

                .Columns("Exe").HeaderText = "Executable"
                '  .Columns("ID").Visible = False
                .Columns("Name").DisplayIndex = 0
                .Columns("ID").Visible = False
                .Columns("QuitWithGemvoy").Visible = False
            End With

            'System Support Apps DGV
            With Sys_SAppsDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "SysSetupID", .Visible = True,
                                             .Name = "SysSetupID",
                                             .DataSource = New BindingSource(GemDSConfig.Tables("SystemsSetups"), Nothing),
                                                 .DisplayMember = "Name",
                                                 .ValueMember = "ID",
                                             .FlatStyle = FlatStyle.Flat,
                                             .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "SupportAppID", .Visible = True,
                              .Name = "SupportAppID", .HeaderText = "Support App",
                              .DataSource = New BindingSource(GemDSConfig.Tables("SupportApps"), Nothing),
                                  .DisplayMember = "Name",
                                  .ValueMember = "ID",
                              .FlatStyle = FlatStyle.Flat,
                              .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "AppVisibility", .Visible = True,
                  .Name = "AppVisibility", .HeaderText = "Window",
                  .DataSource = GEmvoy.AppVisibilities,
                  .FlatStyle = FlatStyle.Flat,
                  .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "Timing", .Visible = True,
              .Name = "Timing", .HeaderText = "Launch",
              .DataSource = GEmvoy.AlsoLaunch,
              .FlatStyle = FlatStyle.Flat,
              .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .DataSource = SAppsDV

                If My.Settings.ConfigDebug = False Then
                    .Columns("SysSetupID").Visible = False
                    .Columns("ID").Visible = False
                    .Columns("EmuSetupID").Visible = False
                    .Columns("GameID").Visible = False
                End If
            End With

            With SysDbInfoDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .AllowUserToAddRows = False
                .DefaultCellStyle.BackColor = Color.WhiteSmoke
                .DefaultCellStyle.ForeColor = Color.DarkSlateGray
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "SystemID", .Visible = True,
                                            .Name = "SystemID", .HeaderText = "System Name",
                                            .DataSource = New BindingSource(GemDSConfig.Tables("SystemsList"), Nothing),
                                                .DisplayMember = "Name",
                                                .ValueMember = "ID",
                                            .FlatStyle = FlatStyle.Flat,
                                            .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "DefEmuSetupID", .Visible = True,
                            .Name = "DefEmuSetupID", .HeaderText = "Default Emualtor",
                            .DataSource = New BindingSource(GemDSConfig.Tables("EmuSetups"), Nothing),
                                .DisplayMember = "Name",
                                .ValueMember = "ID",
                            .FlatStyle = FlatStyle.Flat,
                            .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "UserEmuID", .Visible = True,
                            .Name = "UserEmuID", .HeaderText = "GameEx Emulator",
                            .DataSource = New BindingSource(GemDSConfig.Tables("UserEmulators"), Nothing),
                                .DisplayMember = "StartPageName",
                                .ValueMember = "ID",
                            .FlatStyle = FlatStyle.Flat,
                            .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .DataSource = GemDSConfig.Tables("SystemsSetups")
                .Columns("ID").Visible = False
                .Columns("ROMSZipped").Visible = False
                ' .Columns("SystemID").Visible = False
                .Columns("Name").DisplayIndex = 0
                .Columns("UseGEmvoy").DisplayIndex = 1
                .Columns("UserEmuID").DisplayIndex = 2
                .Columns("DefEmuSetupID").DisplayIndex = 3

                .Columns("Name").Frozen = True
            End With

            'Emu Support Apps DVG
            With EmuSuppAppsDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                '.Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "EmuSetupID", .Visible = True,
                '                             .Name = "EmuSetupID",
                '                             .DataSource = New BindingSource(GemDSConfig.Tables("EmuSetups"), Nothing),
                '                                 .DisplayMember = "Name",
                '                                 .ValueMember = "ID",
                '                             .FlatStyle = FlatStyle.Flat,
                '                             .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "SupportAppID", .Visible = True,
                              .Name = "SupportAppID",
                              .DataSource = New BindingSource(GemDSConfig.Tables("SupportApps"), Nothing),
                                  .DisplayMember = "Name",
                                  .ValueMember = "ID",
                              .FlatStyle = FlatStyle.Flat,
                              .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "AppVisibility", .Visible = True,
                  .Name = "AppVisibility", .HeaderText = "Window",
                  .DataSource = GEmvoy.AppVisibilities,
                  .FlatStyle = FlatStyle.Flat,
                  .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "Timing", .Visible = True,
                      .Name = "Timing", .HeaderText = "Launch",
                      .DataSource = GEmvoy.AlsoLaunch,
                      .FlatStyle = FlatStyle.Flat,
                      .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .DataSource = EmuAppsDV
                .Columns("GameID").Visible = False
                .Columns("ID").Visible = False
                .Columns("SysSetupID").Visible = False
                .Columns("EmuSetupID").Visible = False
                With .Columns("SupportAppID")
                    .DisplayIndex = 0
                    .HeaderText = "Support App"
                End With
            End With

            With EmuConfigAppsDGV

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "SupportAppID", .Visible = True,
                        .Name = "SupportAppID", .HeaderText = "App",
                        .DataSource = New BindingSource(GemDSConfig.Tables("SupportApps"), Nothing),
                        .DisplayMember = "Name",
                        .ValueMember = "ID",
                        .FlatStyle = FlatStyle.Flat,
                        .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewButtonColumn With {.Text = "Launch",
                                                                .UseColumnTextForButtonValue = True,
                                                                .Name = "Launch",
                                                                .DataPropertyName = "Launch"})

                .DataSource = EmuConfigAppsDV

                .Columns("ID").Visible = False
                .Columns("EmuSetupID").Visible = False
                '.Columns("SupportAppID").DisplayIndex = 0
                '.Columns("Parameters").DisplayIndex = 1
                .Columns("Launch").DisplayIndex = 0

            End With

            'Systems Emus
            'SysEmusDV
            With SysEmusDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .DataSource = SysEmusDV

                .Columns("EmuID").Visible = False
                .Columns("SystemID").Visible = False
                .Columns("Exe").Visible = False
                .Columns("VDriveID").Visible = False
                .Columns("EmuSettsProfileID").Visible = False
                .Columns("EmuSettsID").Visible = False
                .Columns("DriveType").Visible = False
                .Columns("FullBootParams").DisplayIndex = SysEmusDGV.Columns.Count - 1
                .Columns("SetupBootParams").DisplayIndex = SysEmusDGV.Columns.Count - 1
                .Columns("ID").DisplayIndex = SysEmusDGV.Columns.Count - 1
                .Columns("ID").Visible = False
                .Columns("Name").Frozen = True
                .ReadOnly = True
                .DefaultCellStyle.BackColor = Color.WhiteSmoke
                .DefaultCellStyle.ForeColor = Color.DarkSlateGray
            End With

            'Emu File Extentions
            With EmusFileExtDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .SelectionMode = DataGridViewSelectionMode.FullRowSelect
                .MultiSelect = False

                '.Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "EmuSetupID", .Visible = True,
                '                             .Name = "EmuSetupID",
                '                             .DataSource = New BindingSource(GemDSConfig.Tables("EmuSetups"), Nothing),
                '                                 .DisplayMember = "Name",
                '                                 .ValueMember = "ID",
                '                             .FlatStyle = FlatStyle.Flat,
                '                             .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "FileExtID", .Visible = True,
                .Name = "FileExtID", .HeaderText = "Ext",
                .DataSource = New BindingSource(GemDSConfig.Tables("FileExts"), Nothing),
                    .DisplayMember = "Ext",
                    .ValueMember = "ID",
                .FlatStyle = FlatStyle.Flat,
                .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .DataSource = EmuFileExtsDV

                If My.Settings.ConfigDebug = False Then
                    .Columns("ID").Visible = False
                    .Columns("EmuSetupID").Visible = False
                End If

            End With



            'Emu Key Remap DVG
            With EmuKeyRemapDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "FromKeyID", .Visible = True,
                      .Name = "FromKeyID", .HeaderText = "From",
                      .DataSource = New BindingSource(GemDSConfig.Tables("Keys"), Nothing),
                          .DisplayMember = "FriendlyName",
                          .ValueMember = "ID",
                      .FlatStyle = FlatStyle.Flat,
                      .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "ToKeyID", .Visible = True,
                      .Name = "ToKeyID", .HeaderText = "To",
                      .DataSource = New BindingSource(GemDSConfig.Tables("Keys"), Nothing),
                          .DisplayMember = "FriendlyName",
                          .ValueMember = "ID",
                      .FlatStyle = FlatStyle.Flat,
                      .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "ModKeyID", .Visible = True,
                      .Name = "ModKeyID", .HeaderText = "Mod",
                      .DataSource = New BindingSource(GemDSConfig.Tables("Keys"), Nothing),
                          .DisplayMember = "FriendlyName",
                          .ValueMember = "ID",
                      .FlatStyle = FlatStyle.Flat,
                      .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "KeyPress", .Visible = True,
                      .Name = "KeyPress", .HeaderText = "Action",
                      .DataSource = KeyPressDD,
                      .FlatStyle = FlatStyle.Flat,
                      .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .DataSource = EmuMapKeysDV


                If My.Settings.ConfigDebug = False Then
                    .Columns("GameID").Visible = False
                    .Columns("ID").Visible = False
                    .Columns("EmuSetupID").Visible = False
                    .Columns("GameNotes").Visible = False
                    ' .Columns("VKeyCode").Visible = False
                End If

                With .Columns("FromAlt")
                    .HeaderText = "Alt"
                    .DisplayIndex = 0
                End With
                With .Columns("FromCtrl")
                    .HeaderText = "Ctrl"
                    .DisplayIndex = 1
                End With
                With .Columns("FromShift")
                    .HeaderText = "Shift"
                    .DisplayIndex = 2
                End With
                With .Columns("FromKeyID")
                    ' .DisplayIndex = 3
                End With
                With .Columns("ToAlt")
                    .HeaderText = "Alt"
                    ' .DisplayIndex = 4
                End With
                With .Columns("ToCtrl")
                    .HeaderText = "Ctrl"
                    '  .DisplayIndex = 5
                End With
                With .Columns("ToShift")
                    .HeaderText = "Shift"
                    ' .DisplayIndex = 6
                End With
                .Columns("KeyPress").DisplayIndex = EmuKeyRemapDGV.ColumnCount - 1
                .Columns("Pause").DisplayIndex = EmuKeyRemapDGV.ColumnCount - 1
                .Columns("ToCode").DisplayIndex = EmuKeyRemapDGV.ColumnCount - 1
                .Columns("EmuNotes").DisplayIndex = EmuKeyRemapDGV.ColumnCount - 1
            End With





            With EmuSettsProfsDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .AllowUserToAddRows = False
                .DataSource = EmuSettsProfs
                .Columns("ID").Visible = True

                If My.Settings.ConfigDebug = False Then
                    .Columns("Name").DisplayIndex = 0
                    .Columns("ID").DisplayIndex = EmuSettsProfsDGV.Columns.Count - 1
                    .Columns("ID").Visible = False
                    .Columns("EmuSetupID").DisplayIndex = EmuSettsProfsDGV.Columns.Count - 1
                    .Columns("EmuSetupID").Visible = False
                    .Columns("GameID").Visible = False
                End If
            End With


            'Virtual Drive DGV
            With VirtDrivesDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .Columns.Add(New DataGridViewButtonColumn With {.DataPropertyName = "Exe",
                                .Name = "Exe",
                                .ReadOnly = True,
                                .HeaderText = "Executable"})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "Product",
                                 .Name = "Product", .HeaderText = "VDrive Product",
                                 .DataSource = VDProducts,
                                 .FlatStyle = FlatStyle.Popup,
                                 .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .DataSource = GemDSConfig.Tables("VirtualDrives")

                .Columns("ID").Visible = False
                .Columns("Product").DisplayIndex = 0
                .Columns("DriveLetter").Visible = False
                .Columns("DriveNumber").Visible = False
                .Columns("Pause1").Visible = False
                .Columns("Pause2").Visible = False
            End With

            ' ========================= GAMES =======================
            ' Game Support Apps DVG
            With GameSuppAppsDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "GameID",
                                             .Name = "GameID",
                                             .DataSource = New BindingSource(GemDSConfig.Tables("Games"), Nothing),
                                                 .DisplayMember = "UniqueGameName",
                                                 .ValueMember = "ID",
                                             .FlatStyle = FlatStyle.Flat,
                                             .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "SupportAppID",
                              .Name = "SupportAppID",
                            .HeaderText = "Support App",
                              .DataSource = New BindingSource(GemDSConfig.Tables("SupportApps"), Nothing),
                                  .DisplayMember = "Name",
                                  .ValueMember = "ID",
                              .FlatStyle = FlatStyle.Flat,
                              .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "AppVisibility",
                  .Name = "AppVisibility", .HeaderText = "Window",
                  .DataSource = GEmvoy.AppVisibilities,
                  .FlatStyle = FlatStyle.Flat,
                  .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "Timing",
                              .Name = "Timing",
                            .HeaderText = "Launch",
                              .DataSource = GEmvoy.AlsoLaunch,
                              .FlatStyle = FlatStyle.Flat,
                              .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .DataSource = GameAppsDV

                If My.Settings.ConfigDebug = False Then
                    .Columns("GameID").DisplayIndex = GameSuppAppsDGV.Columns.Count - 1
                    .Columns("GameID").Visible = False
                    .Columns("SysSetupID").Visible = False
                    .Columns("EmuSetupID").Visible = False
                    .Columns("ID").DisplayIndex = GameSuppAppsDGV.Columns.Count - 1
                    .Columns("ID").Visible = False
                End If

                .Columns("SupportAppID").DisplayIndex = 0

            End With


            'Game Key Remap DVG
            With GameKeyRemapDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                '.Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "EmuSetupID", .Visible = True,
                '                             .Name = "EmuSetupID",
                '                             .DataSource = New BindingSource(GemDSConfig.Tables("EmuSetups"), Nothing),
                '                                 .DisplayMember = "Name",
                '                                 .ValueMember = "ID",
                '                             .FlatStyle = FlatStyle.Flat,
                '                             .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "GameID",
                              .Name = "GameID",
                              .DataSource = New BindingSource(GemDSConfig.Tables("Games"), Nothing),
                                  .DisplayMember = "EditedGameName",
                                  .ValueMember = "ID",
                              .FlatStyle = FlatStyle.Flat,
                              .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "FromKeyID",
                      .Name = "FromKeyID", .HeaderText = "From",
                     .DataSource = New BindingSource(GemDSConfig.Tables("Keys"), Nothing),
                          .DisplayMember = "FriendlyName",
                          .ValueMember = "ID",
                      .FlatStyle = FlatStyle.Flat,
                      .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "ToKeyID",
                      .Name = "ToKeyID", .HeaderText = "To",
                            .DataSource = New BindingSource(GemDSConfig.Tables("Keys"), Nothing),
                          .DisplayMember = "FriendlyName",
                          .ValueMember = "ID",
                      .FlatStyle = FlatStyle.Flat,
                      .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "ModKeyID",
                      .Name = "ModKeyID", .HeaderText = "Mod",
                      .DataSource = New BindingSource(GemDSConfig.Tables("Keys"), Nothing),
                          .DisplayMember = "FriendlyName",
                          .ValueMember = "ID",
                      .FlatStyle = FlatStyle.Flat,
                      .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "KeyPress", .Visible = True,
                      .Name = "KeyPress", .HeaderText = "Action",
                      .DataSource = KeyPressDD,
                      .FlatStyle = FlatStyle.Flat,
                      .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .DataSource = GameMapKeysDV

                If My.Settings.ConfigDebug = False Then
                    .Columns("GameID").Visible = False
                    .Columns("ID").Visible = False
                    .Columns("EmuSetupID").Visible = False
                    .Columns("EmuNotes").Visible = False
                End If

                With .Columns("FromAlt")
                    .HeaderText = "Alt"
                    .DisplayIndex = 0
                End With
                With .Columns("FromCtrl")
                    .HeaderText = "Ctrl"
                    .DisplayIndex = 1
                End With
                With .Columns("FromShift")
                    .HeaderText = "Shift"
                    .DisplayIndex = 2
                End With
                With .Columns("FromKeyID")
                    ' .DisplayIndex = 3
                End With
                With .Columns("ToAlt")
                    .HeaderText = "Alt"
                    ' .DisplayIndex = 4
                End With
                With .Columns("ToCtrl")
                    .HeaderText = "Ctrl"
                    '  .DisplayIndex = 5
                End With
                With .Columns("ToShift")
                    .HeaderText = "Shift"
                    ' .DisplayIndex = 6
                End With
                .Columns("KeyPress").DisplayIndex = EmuKeyRemapDGV.ColumnCount - 1
                .Columns("Pause").DisplayIndex = EmuKeyRemapDGV.ColumnCount - 1
                .Columns("ToCode").DisplayIndex = EmuKeyRemapDGV.ColumnCount - 1
                '.Columns("EmuNotes").DisplayIndex = EmuKeyRemapDGV.ColumnCount - 1


            End With

            ' ============  EmuSetts ==========================
            'EmuSettsDGV
            With EmuSettsDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                .AllowUserToAddRows = False
                ' .SelectionMode = DataGridViewSelectionMode.FullRowSelect
                ' .MultiSelect = False

                '.Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "EmuSetupID", .Visible = False,
                '                             .Name = "EmuSetupID",
                '                             .DataSource = New BindingSource(GemDSConfig.Tables("EmuSetups"), Nothing),
                '                                 .DisplayMember = "Name",
                '                                 .ValueMember = "ID",
                '                             .FlatStyle = FlatStyle.Flat,
                '                             .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                '.Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "GamesID", .Visible = False,
                '                             .Name = "GamesID",
                '                             .DataSource = New BindingSource(GemDSConfig.Tables("Games"), Nothing),
                '                                 .DisplayMember = "UniqueGameName",
                '                                 .ValueMember = "ID",
                '                             .FlatStyle = FlatStyle.Flat,
                '                             .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})
                .DataSource = EmuSettsDV

                If My.Settings.ConfigDebug = False Then
                    .Columns("ID").DisplayIndex = EmuSettsDGV.Columns.Count - 1
                    .Columns("ID").Visible = False
                    .Columns("GamesID").Visible = False
                    .Columns("EmuSetupID").Visible = False
                End If


            End With

            'EmuSettsItemsDGV
            With EmuSettsItemsDGV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                ' .SelectionMode = DataGridViewSelectionMode.FullRowSelect
                ' .MultiSelect = False

                '.Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "EmuSettsID", .Visible = False,
                '                             .Name = "EmuSettsID", .HeaderText = "EmuSettsID",
                '                             .DataSource = New BindingSource(GemDSConfig.Tables("EmuSetts"), Nothing),
                '                                 .DisplayMember = "Name",
                '                                 .ValueMember = "ID",
                '                             .FlatStyle = FlatStyle.Flat,
                '                             .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "Type", .Visible = True,
                                             .Name = "Type", .HeaderText = "Type",
                                             .DataSource = SettsType,
                                             .FlatStyle = FlatStyle.Flat,
                                             .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .DataSource = EmuSettsItemsDV

                If My.Settings.ConfigDebug = False Then
                    .Columns("ID").Visible = False
                    .Columns("BackupOnly").Visible = False
                    .Columns("EmuSettsID").Visible = False
                End If

                With .Columns("Type")
                    .ReadOnly = True
                    .DefaultCellStyle.BackColor = Color.Gainsboro
                End With

                With .Columns("ItemText")
                    .ReadOnly = True
                    .DefaultCellStyle.BackColor = Color.Gainsboro
                End With

            End With

            With GamePGSettsDGV

                .AllowUserToAddRows = False
                .DataSource = GameSettsProfDV
                .AutoSizeColumnsMode = Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells
                If My.Settings.ConfigDebug = False Then
                    .Columns("Name").DisplayIndex = 0
                    .Columns("GameID").Visible = False
                    .Columns("ID").DisplayIndex = GamePGSettsDGV.Columns.Count - 1
                    .Columns("ID").Visible = False
                    .Columns("EmuSetupID").DisplayIndex = GamePGSettsDGV.Columns.Count - 1
                    .Columns("EmuSetupID").Visible = False
                End If

                ' .Columns("BackupOnly").Visible = True
            End With


            With GamesListDGV
                .AllowUserToOrderColumns = False
                .AllowUserToAddRows = False

                .RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.Raised
                .AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells
                .TopLeftHeaderCell.Value = "Go.."
                .Columns.Add(New DataGridViewComboBoxColumn With {.DataPropertyName = "EmuSetupID", .Visible = True,
                        .Name = "EmuSetupID", .HeaderText = "Emulator",
                        .DataSource = New BindingSource(GemDSConfig.Tables("EmuSetups"), Nothing),
                        .DisplayMember = "Name",
                        .ValueMember = "ID",
                        .FlatStyle = FlatStyle.Flat, .ReadOnly = True,
                        .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells})

                .DataSource = GamesListDV

                .Columns("ID").DisplayIndex = GamesListDGV.Columns.Count - 1
                .Columns("ID").Visible = False

                .Columns("GameDetailsID").Visible = False
                .Columns("EmuSettsID").Visible = False
                .Columns("EmuSettProfileID").Visible = False
                .Columns("SysSetupID").Visible = False
                .Columns("EmuSettPGAlgo").Visible = False

                With .Columns("EditedGameName")
                    .DisplayIndex = 0
                    .AutoSizeMode = DataGridViewAutoSizeColumnMode.None
                    .Width = 200
                End With

                .Columns("EmuSetupID").DisplayIndex = 1
                .Columns("DefaultForGame").DisplayIndex = 2
                .Columns("QuickLaunchPrompt").DisplayIndex = 3
                .Columns("CmdLine").DisplayIndex = 4
                .Columns("GEGameName").DisplayIndex = 5
                .Columns("UniqueGameName").DisplayIndex = 6
                .Columns("RomFile").DisplayIndex = 7
                .Columns("DisableSettsHx").Visible = False

                .DefaultCellStyle.BackColor = Color.WhiteSmoke
                .DefaultCellStyle.ForeColor = Color.DarkSlateGray
                .Columns("EditedGameName").Frozen = True

                .AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None
                .AllowUserToResizeColumns = True
                .ReadOnly = True

            End With


        End Sub

        'Private Sub GameListDGV_CellPainting(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellPaintingEventArgs) Handles GamesListDGV.CellPainting
        '    If e.ColumnIndex < 0 AndAlso e.RowIndex >= 0 Then
        '        e.PaintBackground(e.ClipBounds, True)
        '        e.Graphics.DrawImage(My.Resources.refresh, e.CellBounds)
        '        e.Handled = True
        '    End If
        'End Sub

        Private Sub _SupportAppDGVCellClick(ByVal sender As Object, ByVal e As DataGridViewCellEventArgs) Handles SupportDGV.CellClick
            If e.RowIndex >= 0 And
               e.ColumnIndex >= 0 Then
                Dim ColumnHeader As String = SupportDGV.Columns(e.ColumnIndex).HeaderText
                cfdb.echo("Value: " & SupportDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value)
                If ColumnHeader = "Executable" Then
                    With ofd1
                        .Title = "Choose the Support App executable..."
                        .Filter = "EXE|*.exe|BAT|*.bat|All Files|*.*"
                        'If SupportDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value Is Nothing Then
                        cfdb.echo("Cell null")

                        .InitialDirectory = Path.GetDirectoryName(NotNull(SupportDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value, "C:"))
                        .FileName = Path.GetFileName(NotNull(SupportDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value, ""))
                        'End If
                    End With
                    If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                        SupportDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value = ofd1.FileName
                    End If
                End If
            End If
        End Sub

        Private Sub _VirtDriveDGVCellClick(ByVal sender As Object, ByVal e As DataGridViewCellEventArgs) Handles VirtDrivesDGV.CellClick
            If e.RowIndex >= 0 And
               e.ColumnIndex >= 0 Then
                Dim ColumnHeader As String = VirtDrivesDGV.Columns(e.ColumnIndex).HeaderText
                If ColumnHeader = "Executable" Then
                    With ofd1
                        .Title = "Choose the Virtual Drive executable..."
                        .Filter = "EXE|*.exe|BAT|*.bat|All Files|*.*"
                        If File.Exists(NotNull(VirtDrivesDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value, "")) Then
                            .InitialDirectory = Path.GetDirectoryName(VirtDrivesDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value)
                            .FileName = Path.GetFileName(VirtDrivesDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value)
                        End If
                    End With
                    If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                        VirtDrivesDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value = ofd1.FileName
                    End If
                End If
            End If
        End Sub


        Private Sub SysSuppAppsDGVRowEntered(ByVal sender As Object, _
                ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles Sys_SAppsDGV.DefaultValuesNeeded
            With e.Row
                .Cells("SysSetupID").Value = SysIDTB.Text
                .Cells("AppVisibility").Value = "Normal"
            End With

        End Sub

        Private Sub EmuSuppAppsDGVRowEntered(ByVal sender As Object, _
        ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles EmuSuppAppsDGV.DefaultValuesNeeded
            With e.Row
                .Cells("EmuSetupID").Value = EmuIDTB.Text
                .Cells("AppVisibility").Value = "Normal"
            End With
        End Sub

        Private Sub EmuKeyRemapsDGVRowEntered(ByVal sender As Object, _
    ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles GameSuppAppsDGV.DefaultValuesNeeded
            With e.Row
                .Cells("GameID").Value = GameID.Text
                .Cells("AppVisibility").Value = "Normal"
            End With
            'Dim nrow As DataRow = GemDSConfig.Tables("KeyRemaps").NewRow
            'GemDSConfig.Tables("KeyRemaps").Rows.Add(nrow)
        End Sub

        Private Sub EmuSuppConfigAppsDGVRowEntered(ByVal sender As Object, _
 ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles EmuConfigAppsDGV.DefaultValuesNeeded
            With e.Row
                .Cells("EmuSetupID").Value = EmuIDTB.Text
                '.Cells("AppVisibility").Value = "Normal"
            End With
        End Sub

        Private Sub GameSuppAppsDGVRowEntered(ByVal sender As Object, _
        ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles EmuKeyRemapDGV.DefaultValuesNeeded


            With e.Row
                .Cells("EmuSetupID").Value = EmuIDTB.Text
                .Cells("KeyPress").Value = "Press"
                .Cells("Pause").Value = 0
            End With

        End Sub

        Private Sub GameKeyMapDGVRowEntered(ByVal sender As Object, _
            ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles GameKeyRemapDGV.DefaultValuesNeeded


            With e.Row
                .Cells("GameID").Value = GameID.Text

            End With

        End Sub

        'EmuSettsItemsDGV

        Private Sub EmuSettsItemsDGVRowEntered(ByVal sender As Object, _
            ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles EmuSettsItemsDGV.DefaultValuesNeeded


            With e.Row
                ' .Cells("Type").Value = 0
                .Cells("EmuSettsID").Value = EmuSettsIDTB.Text
            End With

        End Sub

        Private Sub EmuSettsProfsDGVRowEntered(ByVal sender As Object, _
    ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles EmuSettsProfsDGV.DefaultValuesNeeded


            With e.Row
                ' .Cells("Type").Value = 0
                .Cells("EmuSettsID").Value = EmuSettsIDTB.Text

            End With

        End Sub

        Private Sub EmuFileExtsDGVRowEntered(ByVal sender As Object, _
            ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles EmusFileExtDGV.DefaultValuesNeeded


            With e.Row
                .Cells("EmuSetupID").Value = EmuIDTB.Text
                'MsgBox(EmusFileExtDGV.Rows.Count - 1)
                'MsgBox("here: " & EmusFileExtDGV.Rows(EmusFileExtDGV.Rows.Count - 2).Cells("Priority").Value)
                'MsgBox(Convert.ToInt32(EmusFileExtDGV.Rows(EmusFileExtDGV.Rows.Count - 1).Cells("Priority").Value))
                cfdb.echo("Rows: " & EmusFileExtDGV.RowCount)
                If EmusFileExtDGV.RowCount > 1 Then
                    .Cells("Priority").Value = EmusFileExtDGV.Rows(EmusFileExtDGV.Rows.Count - 2).Cells("Priority").Value + 1
                Else
                    .Cells("Priority").Value = 1
                End If
            End With

        End Sub




        Private Sub ShowDebugCB_CheckedChanged(sender As Object, e As EventArgs) Handles ShowDebugCB.CheckedChanged
            If sender.checked = True Then
                GEmvoy.Setts.ShowDebug = True
            Else
                GEmvoy.Setts.ShowDebug = False
            End If
        End Sub

        Private Sub Debug2Log_CheckedChanged(sender As Object, e As EventArgs) Handles Debug2Log.CheckedChanged
            If sender.checked = True Then
                GEmvoy.Setts.LogToDebug = True
            Else
                GEmvoy.Setts.LogToDebug = False
            End If
        End Sub

        Private Sub SysDetsCB_CheckedChanged(sender As Object, e As EventArgs) Handles SysDetsCB.CheckedChanged
            If sender.checked = True Then
                GEmvoy.Setts.SysDetsInLog = True
            Else
                GEmvoy.Setts.SysDetsInLog = False
            End If
        End Sub

        Private Sub VerbLogCB_CheckedChanged(sender As Object, e As EventArgs) Handles VerbLogCB.CheckedChanged
            If sender.checked = True Then
                GEmvoy.Setts.VerboseLog = True
            Else
                GEmvoy.Setts.VerboseLog = False
            End If
        End Sub

        Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles SettsShowZipChB.CheckedChanged
            If sender.checked = True Then
                GEmvoy.Setts.UnzipProg = True
            Else
                GEmvoy.Setts.UnzipProg = False
            End If
        End Sub

        Private Sub SaveSettsBT_Click(sender As Object, e As EventArgs) Handles SaveSettsBT.Click
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub Configuration_FormClosing(sender As Object, e As Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing

            If BootCycleComplete = False Then
                MsgBox("An booted emulator is presently running. You cannot close GEmvoy until this is stopped.", MsgBoxStyle.Exclamation, "Emulator running..")
                e.Cancel = True
                Return
            End If

            If SysChanges = True Or EmuChanges = True Or GameChanges = True Then
                If MsgBox("There are unsaved changes marked in red. Are you sure you want to close GEmvoy? Any unsaved changes will be lost.", MsgBoxStyle.YesNo, "Unsaved Changes...") = MsgBoxResult.No Then
                    e.Cancel = True
                End If
            End If

            'Stop cam if capturing
            If WCPrev.IsCapturing Then WCStop_Click(Nothing, Nothing)

            'notification icon
            NotifyIcon1.Visible = False
            NotifyIcon1.Dispose()
            Application.DoEvents()

            GEmvoy.Setts.SaveSetts()
            XMLOps.SaveXML(GemDSConfig, GEmvoy.XMLFile)
            '   XMLOps.SaveXML(GemDSBS.DataSource, GEmvoy.XMLFile)

            'GEmvoy.Close()
            'GEmvoy.Dispose()
            Plugin.GEmvoy.WriteGVEntry("Window size on close:")
            Plugin.GEmvoy.WriteGVEntry("Size Setts: " & Me.Size.ToString)
            Plugin.GEmvoy.WriteGVEntry("Location Setts: " & Me.Location.ToString)
            My.Settings.winSize = Me.Size
            My.Settings.WinPos = Me.Location
            My.Settings.WinState = Me.WindowState
            My.Settings.Save()

            cfdb.Close()
            cfdb.Dispose()

            Plugin.GEmvoy.Close()
            Plugin.GEmvoy.Dispose()

            ShowWindowAsync(PManagerHnd, SW_RESTORE)

            'Stop Cam
            If WCPrev.IsCapturing Then
                WCPrev.StopCapture()
            End If

            ' RestorePluginManager()

            ContextMain.Close()

        End Sub

        Private Sub GetZipExe_Click(sender As Object, e As EventArgs) Handles Get7ZBT.Click
            'GET 7Z FILE PATH
            With ofd1
                .Title = "Please select the 7z.exe file"
                .Filter = "EXE|*.exe|All Files|*.*"
                Try
                    .InitialDirectory = Path.GetDirectoryName(GEmvoy.Setts.ZipExe)
                    .FileName = Path.GetFileName(GEmvoy.Setts.ZipExe)
                Catch
                    .InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)
                    .FileName = "7z.exe"
                End Try

            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                If Not Path.GetFileName(ofd1.FileName) = "7z.exe" Then
                    MsgBox("Error: 7z.exe needs to be chosen")
                    Return
                Else
                    ZipExeTB.Text = ofd1.FileName
                    GEmvoy.Setts.ZipExe = ofd1.FileName
                End If
            End If
        End Sub



        Private Sub ConstructQueryTables()

            'DATAVIEWS
            'System Support Apps:
            SAppsDV = New DataView(GemDSConfig.Tables("SysSetup_Support"))


            'Emu Support apps:
            EmuAppsDV = New DataView(GemDSConfig.Tables("SysSetup_Support"))

            'System Emus
            SysEmusDV = New DataView(GemDSConfig.Tables("EmuSetups"))
            SysEmusDV.RowFilter = "SystemID = " & NotNull(EmuSysCB.SelectedValue, -1)

            'emu config apps
            EmuConfigAppsDV = New DataView(GemDSConfig.Tables("ConfigEmuApps"))

            'Emu Keymaps:
            EmuMapKeysDV = New DataView(GemDSConfig.Tables("KeyRemaps"))

            'Emu Extentions:
            EmuFileExtsDV = New DataView(GemDSConfig.Tables("EmuSetup_FileExts"))

            'Emu Setts profiles:
            EmuSettsProfs = New DataView(GemDSConfig.Tables("EmuSettsProfile"))

            EmuSettsProfDV = New DataView(GemDSConfig.Tables("EmuSettsProfile"))
            EmuSettsProfDV.Sort = "Name Asc"

            EmuSettsAlgoDV = New DataView(GemDSConfig.Tables("EmuSetts"))
            EmuSettsAlgoDV.Sort = "Name Asc"

            AllEmus = New DataView(GemDSConfig.Tables("EmuSetups"))
            AllEmus.Sort = "Name"

            'SelEmus = New DataView(GemDSConfig.Tables("EmuSetups"))
            'SelEmus.RowFilter = "SystemID = " & SysSetupSelCB.SelectedValue


            EmuBySystem = New DataView(GemDSConfig.Tables("EmuSetups"))
            EmuBySystem.RowFilter = "SystemID = " & SysIDTB.Text
            EmuBySystem.Sort = "Name Asc"

            'GAMES
            GameSelDV = New DataView(GemDSConfig.Tables("Games"))
            GameSelDV.Sort = "UniqueGameName ASC"

            'Game Support apps:
            GameAppsDV = New DataView(GemDSConfig.Tables("SysSetup_Support"))

            'Game Keymaps:
            GameMapKeysDV = New DataView(GemDSConfig.Tables("KeyRemaps"))

            'Games List:
            GamesListDV = New DataView(GemDSConfig.Tables("Games"))



            'Game PG setts:
            GameSettsProfDV = New DataView(GemDSConfig.Tables("EmuSettsProfile"))
            GameSettsProfDV.Sort = "Name Asc"

            GameSettsProfs = New DataView(GemDSConfig.Tables("EmuSettsProfile"))

            GameSettsAlgoDV = New DataView(GemDSConfig.Tables("EmuSetts"))
            GameSettsAlgoDV.Sort = "Name Asc"

            'EmuSetts:
            EmuSettsDV = New DataView(GemDSConfig.Tables("EmuSetts"))

            'EmuSetts:
            EmuSettsItemsDV = New DataView(GemDSConfig.Tables("EmuSettsItems"))

            'EmuFilered - vby system
            FiltEmusDV = New DataView(GemDSConfig.Tables("EmuSetups"))

            '  Query_FullSystem()

            Return
        End Sub

        Private Sub Query_FullSystem()
            Dim GEEmus As DataTable = GemDSConfig.Tables("UserEmulators")
            Dim SysSetups As DataTable = GemDSConfig.Tables("SystemsSetups")
            FullSystem = MergeDataTables(GEEmus, SysSetups, "ID", "UserEmuID")
        End Sub

        Private Function MergeDataTables(ByVal dtb1 As DataTable, ByVal dtb2 As DataTable, ByVal dtb1MatchField As String, ByVal dtb2MatchField As String) As DataTable
            Dim dtbOutput As DataTable = dtb1.Copy
            Dim lstSkipFields As New List(Of String)
            For Each dcl As DataColumn In dtb2.Columns
                Try
                    dtbOutput.Columns.Add(dcl.ColumnName, dcl.DataType)
                Catch ex As DuplicateNameException
                    lstSkipFields.Add(dcl.ColumnName)
                End Try
            Next dcl
            'Merge dtb2 records that match existing records in dtb1
            Dim dtb2Temp As DataTable = dtb2.Copy
            For int2 As Integer = dtb2Temp.Rows.Count - 1 To 0 Step -1
                Dim drw2 As DataRow = dtb2Temp.Rows(int2)
                Dim o2 As Object = drw2(dtb2MatchField)
                For Each drw1 As DataRow In dtbOutput.Rows
                    Dim o1 As Object = drw1(dtb1MatchField)
                    If o1.ToString = o2.ToString Then
                        For Each dcl As DataColumn In dtb2Temp.Columns
                            If Not lstSkipFields.Contains(dcl.ColumnName) Then
                                drw1(dcl.ColumnName) = drw2(dcl.ColumnName)
                            End If
                        Next dcl
                        dtb2Temp.Rows.Remove(drw2)
                    End If
                Next drw1
            Next int2
            'add rows that weren't in dtb1
            For Each drw2 As DataRow In dtb2Temp.Rows
                Dim drw1 As DataRow = dtbOutput.NewRow
                For Each dcl As DataColumn In dtb2Temp.Columns
                    drw1(dcl.ColumnName) = drw2(dcl.ColumnName)
                Next dcl
                dtbOutput.Rows.Add(drw1)
            Next drw2
            Return dtbOutput
        End Function

        Private Sub PopulateSystems()
            cfdb.echo("PopSys DD Value: " & SysSetupSelCB.SelectedValue, False, "Populate System")

            Dim sysID As String = SysSetupSelCB.SelectedValue

            cfdb.echo("sysID: " & sysID.ToString)
            Dim sysrow() As DataRow = GemDSConfig.Tables("SystemsSetups").Select("ID='" & sysID & "'")
            '  cfdb.echo("Change: " & sysrow(0).Item("StartPageName"))

            cfdb.echo("debug1: " & sysrow(0).Item("Name"))

            'SystemSetups:
            SysIDTB.Text = sysrow(0).Item("ID")
            SysSetupNameTB.Text = NotNull(sysrow(0).Item("Name"), "")

            'Threading.Thread.Sleep(10000)
            ' cfdb.echo("HERE: " & sysrow(0).Item("SystemID"))
            SysCB.SelectedValue = NotNull(sysrow(0).Item("SystemID"), 0)
            'EMULATOR SETUP CB
            EmuSetupCB.SelectedValue = NotNull(sysrow(0).Item("DefEmuSetupID"), 0)
            ROMSFolderTB.Text = NotNull(sysrow(0).Item("RomsFolder"), "")

            QuicklaunchTB.Text = NotNull(sysrow(0).Item("QuicklaunchRoot"), "")
            QLaunchPromptCB.Text = NotNull(sysrow(0).Item("QuicklaunchPrompt"), "")
            UseQLaunchChB.Checked = NotNull(sysrow(0).Item("UseQuicklaunch"), False)
            SysUseGVChB.Checked = NotNull(sysrow(0).Item("UseGEmvoy"), False)

            Dim GEEmuID As String = sysrow(0).Item("UserEmuID")

            GEEmuCB.SelectedValue = CInt(GEEmuID)



            'GameExInfo:
            sysrow = GemDSConfig.Tables("UserEmulators").Select("ID='" & GEEmuID & "'")
            TmpGEEmuID.Text = sysrow(0).Item("ID")
            StartPNTB.Text = sysrow(0).Item("StartPageName")
            TitleTTB.Text = sysrow(0).Item("TitleText")
            DatabaseTB.Text = sysrow(0).Item("Database")
            RomPathTB.Text = sysrow(0).Item("RomPath")
            SnapPathTB.Text = sysrow(0).Item("SnapPath")
            TitlePathTB.Text = sysrow(0).Item("TitlePath")
            GEIDTB.Text = sysrow(0).Item("UserEmuGEID")
            EnableCB.Checked = sysrow(0).Item("Enabled")

        End Sub

        Private Sub SaveSystems()
            cfdb.echo("PopSys DD Value: " & SysSetupSelCB.SelectedValue, False, "Save system")

            If EmuSetupCB.Text = "" Then
                MsgBox("Default Emu cannot be Null. Please choose or setup an emulator.", MsgBoxStyle.Exclamation)
                Return
            End If

            Dim sysID As String = Convert.ToInt32(SysIDTB.Text)
            Dim sysrow() As DataRow = GemDSConfig.Tables("SystemsSetups").Select("ID = '" & sysID & "'")


            sysrow(0)("Name") = NotNull(SysSetupNameTB.Text, "")
            ' cfdb.echo("HERE: " & sysrow(0).Item("SystemID"))
            sysrow(0).Item("SystemID") = NotNull(SysCB.SelectedValue, 0)
            sysrow(0).Item("DefEmuSetupID") = EmuSetupCB.SelectedValue

            sysrow(0)("RomsFolder") = NotNull(ROMSFolderTB.Text, "")

            sysrow(0)("QuicklaunchRoot") = NotNull(QuicklaunchTB.Text, "")
            sysrow(0)("QuicklaunchPrompt") = NotNull(QLaunchPromptCB.Text, "Ask")
            sysrow(0)("UseQuicklaunch") = NotNull(UseQLaunchChB.Checked, False)
            sysrow(0)("UseGEmvoy") = NotNull(SysUseGVChB.Checked, False)
            sysrow(0)("UserEmuID") = NotNull(GEEmuCB.SelectedValue, 0)

            cfdb.echo("Saved...", False, "Save system")

            'With SysSetupSelCB
            '    .DataSource = Nothing
            '    .DataSource = GemDSConfig.Tables("SystemsSetups").Select(True, "Name Asc")
            'End With


        End Sub



        Private Sub ROMSFolderBT_Click(sender As Object, e As EventArgs) Handles ROMSFolderBT.Click
            With FBD1
                .Description = "Choose the folder containing the ROM Files...."
                .SelectedPath = ROMSFolderTB.Text
            End With
            Dim result As Windows.Forms.DialogResult = FBD1.ShowDialog()
            If result = Windows.Forms.DialogResult.OK Then
                Dim filepath As New Uri(FBD1.SelectedPath)
                If filepath.IsUnc Then
                    MsgBox("The slected path must begin with a drive letter. No UNC (network) paths allowed. If you're wanting to use a network path, use a mapped network drive instead. Read the FAQa on the Codeplex documentation for more info on this.", MsgBoxStyle.Exclamation, "ERROR: UNC path chosen")
                    Return
                Else
                    ROMSFolderTB.Text = FBD1.SelectedPath
                End If
            End If

        End Sub

        Private Sub QLBT_Click(sender As Object, e As EventArgs) Handles QLBT.Click
            With FBD1
                .Description = "Choose the folder to contain the Quicklaunch files...."
                .SelectedPath = QuicklaunchTB.Text
            End With
            Dim result As Windows.Forms.DialogResult = FBD1.ShowDialog()
            If result = Windows.Forms.DialogResult.OK Then
                Dim filepath As New Uri(FBD1.SelectedPath)
                If filepath.IsUnc Then
                    MsgBox("The slected path must begin with a drive letter. No UNC (network) paths allowed. If you're wanting to use a network path, use a mapped network drive instead. Read the FAQa on the Codeplex documentation for more info on this.", MsgBoxStyle.Exclamation, "ERROR: UNC path chosen")
                    Return
                Else

                    QuicklaunchTB.Text = FBD1.SelectedPath
                End If
            End If

        End Sub

        Public Function NotNull(Of T)(ByVal Value As T, ByVal DefaultValue As T) As T

            If Value Is Nothing OrElse IsDBNull(Value) Then
                Return DefaultValue
            Else
                Return Value
            End If
        End Function

        Private Sub SysSaveBT_Click(sender As Object, e As EventArgs) Handles SysSaveBT.Click
            If SysIDTB.Text = "-1" Then
                MsgBox("Attempting to Save after Clearing - please use ""Save New"" instead.", MsgBoxStyle.Information)
                Return
            End If

            SaveSystems()
            ClearEditIndicators()
            If Not (LogoFade.IsBusy) Then
                LogoFade.RunWorkerAsync(sender)
            End If
            Button1_Click(Nothing, Nothing) ' Save XML

        End Sub

        Private Sub ClearEditIndicators()
            'Dim props() As String
            For Each ctl As Control In SysSettsGB.Controls
                ctl.BackColor = Color.FromArgb(CInt((ctl.Tag).split(",")(0)))
                ctl.ForeColor = Color.FromArgb(CInt((ctl.Tag).split(",")(1)))
            Next
            SysChanges = False

        End Sub

        Private Sub ClearEmuEditIndicators()
            Dim EmuGBs As New List(Of GroupBox) From {EmuSetupGB, VirtDriveGB, EmuSettsScriptGB}
            For Each gb As GroupBox In EmuGBs
                For Each ctl As Control In gb.Controls
                    'If ctl.Name = "EmuSettsScriptGB" Then
                    '    ctl.BackColor = Control.DefaultBackColor
                    '    GroupBox27.BackColor = Color.AliceBlue
                    '    UseSettsScrptChB.BackColor = Color.AliceBlue
                    '    EmuSettsProfUseChB.BackColor = Color.AliceBlue
                    'Else
                    ctl.BackColor = Color.FromArgb(CInt((ctl.Tag).split(",")(0)))
                    'End If
                    ctl.ForeColor = Color.FromArgb(CInt((ctl.Tag).split(",")(1)))
                Next
            Next
            EmuChanges = False
        End Sub

        Private Sub ClearGameEditIndicators()

            Dim GameGBs As New List(Of GroupBox) From {GameProfileGB, GamesEmuSettsGB}
            For Each gb As GroupBox In GameGBs
                For Each ctl As Control In gb.Controls
                    'If ctl.Name = "GroupBox32" Then
                    '    ctl.BackColor = Control.DefaultBackColor
                    'Else
                    ctl.BackColor = Color.FromArgb(CInt((ctl.Tag).split(",")(0)))
                    'End If
                    ctl.ForeColor = Color.FromArgb(CInt((ctl.Tag).split(",")(1)))
                Next
            Next

            GameChanges = False
        End Sub


        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            cfdb.echo("Saving Database")
            If Not (LogoFade.IsBusy) Then
                LogoFade.RunWorkerAsync(sender)
            End If
            XMLOps.SaveXML(GemDSConfig, GEmvoy.XMLFile)
        End Sub

        Private Sub SysGoBT_Click(sender As Object, e As EventArgs)
            cfdb.echo("sysgobt_Click")
            If SysChanges = True Then
                If MsgBox("There are unsaved changes (in red). Are you sure you want to change the System setup?", MsgBoxStyle.YesNo, "Unsaved Changes...") = MsgBoxResult.No Then Return
            End If

            ClearEditIndicators()

            cfdb.echo("DD value: " & SysSetupSelCB.SelectedValue, False, "Populate System")
            PopulateSystems()

            SAppsDV.RowFilter = "SysSetupID = '" & SysSetupSelCB.SelectedValue & "'"

            GameSelDV.RowFilter = "SysSetupID = '" & SysSetupSelCB.SelectedValue & "'"


        End Sub

        Private Sub GUIFontBT_Click(sender As Object, e As EventArgs) Handles GUIFontBT.Click
            With FD1
                .Font = My.Settings.GUIFont
            End With

            If FD1.ShowDialog = Windows.Forms.DialogResult.OK Then
                Me.Font = FD1.Font
                My.Settings.GUIFont = FD1.Font
            End If
        End Sub

        Private Sub EmuExeBT_Click(sender As Object, e As EventArgs) Handles EmuExeBT.Click
            With ofd1
                .Title = "Please select the Emulator executable file..."
                .Filter = "EXE|*.exe|All Files|*.*"
                Try
                    .InitialDirectory = Path.GetDirectoryName(EmuExeTB.Text)
                    .FileName = Path.GetFileName(EmuExeTB.Text)
                Catch
                    .InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)
                End Try
            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                EmuExeTB.Text = ofd1.FileName
            End If
        End Sub

        Private Sub SaveNewBT_Click(sender As Object, e As EventArgs) Handles SaveNewBT.Click

            SaveNewEmuSetup()

            Button1_Click(Nothing, Nothing) ' Save XML
        End Sub


        Private Sub SaveNewEmuSetup()

            Dim nrow As DataRow = GemDSConfig.Tables("EmuSetups").NewRow

            Dim chkName As Boolean = False
            Dim chkCombo As String = ""
            Dim chkEmu As Boolean = False

            For Each row As DataRow In GemDSConfig.Tables("EmuSetups").Rows
                If row("Name") = EmuNameTB.Text Then
                    chkName = True
                ElseIf row("SystemID") = EmuSysCB.SelectedValue And
                    row("EmuID") = EmuListnameCB.SelectedValue Then
                    chkCombo = row("Name")
                ElseIf row("EmuID") = EmuListnameCB.SelectedValue Then
                    chkEmu = True
                End If
            Next

            Dim Valid As String = CheckEmuSave()

            If Valid <> "Valid" Then
                MsgBox(Valid, MsgBoxStyle.Exclamation)
                Return
            End If

            If chkName Then
                MsgBox("There is an Emulator Setup which already has this name. Please choose another Name.", MsgBoxStyle.Exclamation, "Emulator Setup Name error...")
                Return
            ElseIf chkCombo <> "" Then
                MsgBox("There is already an existing Emultor Setup for this System/Emulator combination. Please revise. The pre-existing setup name: " & vbCr & vbCr & chkCombo, MsgBoxStyle.Exclamation, "Emulator Setup error...")
                Return
            ElseIf chkEmu Then
                If MsgBox("An Emulator setup for this emulator already exists. It may be that you are setting up this emulator for use with a different system. Are you sure you want to save a new Emulator Setup for this emulator?", MsgBoxStyle.YesNo, "Emulator already setup...") = MsgBoxResult.No Then
                    Return
                End If
            End If

            If EmuNameTB.Text = "" Then EmuNameTB.Text = EmuListnameCB.Text & " (" & EmuSysCB.Text & ")"

            nrow("Name") = NotNull(EmuNameTB.Text, EmuNameTB.Text & " (" & EmuSysCB.DisplayMember & ")")
            nrow("EmuID") = NotNull(EmuListnameCB.SelectedValue, 0)
            nrow("SystemID") = NotNull(EmuSysCB.SelectedValue, 0)
            nrow("Exe") = NotNull(EmuExeTB.Text, "")
            nrow("FullBootParams") = NotNull(FullBootTB.Text, "")
            nrow("SetupBootParams") = NotNull(SetupBootTB.Text, "")
            nrow("ImageMount") = NotNull(MountImgChB.Checked, False)
            nrow("VDriveID") = NotNull(VirtDriveCB.SelectedValue, False)
            nrow("DriveType") = NotNull(DriveTypeCB.Text, "")
            nrow("DriveLetter") = NotNull(DriveLetterTB.Text, GEmvoy.Setts.DefaultDrive)
            nrow("PerGameSetts") = NotNull(UseSettsScrptChB.Checked, False)
            nrow("KeepSettsHx") = NotNull(KeepSettsHxChB.Checked, False)
            nrow("DisableQL") = NotNull(EmuDisQLChB.Checked, False)
            nrow("EmuSetts") = NotNull(EmuSettsProfUseChB.Checked, False)
            nrow("EmuSettsProfileID") = NotNull(EmuSettsProfCB.SelectedValue, False)
            nrow("EmuSettsID") = NotNull(EmuSettsAlgoCB.SelectedValue, False)
            nrow("UnzipROM") = NotNull(EmuUnzip.Checked, True)
            nrow("UseSettsAlgo") = NotNull(UseAlgoChB.Checked, False)
            nrow("DisablePIP") = NotNull(DisablePIP.Checked, False)

            GemDSConfig.Tables("EmuSetups").Rows.Add(nrow)

            cfdb.echo("Saved...", False, "Save system")

            ClearEmuEditIndicators()

            EmuSelCB.SelectedIndex = EmuSelCB.FindStringExact(EmuNameTB.Text)
            EmuSelCB_SelectedIndexChanged(Nothing, Nothing)

            Dim match As Boolean = False
            Dim gsrow As DataRow = GemDSConfig.Tables("EmuSettsProfile").NewRow
            For Each crow As DataRow In GemDSConfig.Tables("EmuSettsProfile").Rows
                If CInt(EmuIDTB.Text) = NotNull(crow("EmuSetupID"), -1) And crow("Name") = "Emulator Default" Then match = True
                Continue For
            Next
            If match = False Then
                gsrow("Name") = "Emulator Default"
                gsrow("EmuSetupID") = EmuIDTB.Text
                GemDSConfig.Tables("EmuSettsProfile").Rows.Add(gsrow)
            End If
            EmuSettsProfCB.SelectedIndex = EmuSettsProfCB.FindStringExact("Emulator Default")

            '  MsgBox("New Emulator Setup saved.", MsgBoxStyle.OkOnly, "Emulator Setup saved...")
            MsgBox("New Emulator setup added. Don't forget to complete the 'File Extention Priority' datargid to the right, or else your emulator will not boot any gamefiles.", MsgBoxStyle.Information)
            'If Not (LogoFade.IsBusy) Then
            '    LogoFade.RunWorkerAsync(SaveNewBT)
            'End If
        End Sub

        Private Sub LoadEmuSetupBT_Click(sender As Object, e As EventArgs)
            If EmuChanges = True And FormLoadFinished = True Then
                If MsgBox("There are unsaved changes to an Emulator Setup (in red). Are you sure you want to change the Emulator setup?", MsgBoxStyle.YesNo, "Unsaved Changes...") = MsgBoxResult.No Then Return
            End If
            ClearEmuEditIndicators()
            LoadEmuSetup()
            EmuAppsDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"

            EmuConfigAppsDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"

            EmuMapKeysDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"
            EmuFileExtsDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"
            EmuFileExtsDV.Sort = "Priority Asc"
        End Sub

        Private Sub LoadEmuSetup()
            cfdb.echo("loademu recived: " & EmuSelCB.SelectedValue)
            If String.IsNullOrEmpty(EmuSelCB.SelectedValue) Then Return
            Dim sysrow() As DataRow = GemDSConfig.Tables("EmuSetups").Select("ID = '" & EmuSelCB.SelectedValue & "'")
            EmuIDTB.Text = sysrow(0)("ID")
            EmuNameTB.Text = NotNull(sysrow(0)("Name"), "")
            EmuListnameCB.SelectedValue = NotNull(sysrow(0)("EmuID"), 0)
            EmuSysCB.SelectedValue = NotNull(sysrow(0)("SystemID"), 0)
            EmuExeTB.Text = NotNull(sysrow(0)("Exe"), "")
            FullBootTB.Text = NotNull(sysrow(0)("FullBootParams"), "")
            SetupBootTB.Text = NotNull(sysrow(0)("SetupBootParams"), "")
            MountImgChB.Checked = NotNull(sysrow(0)("ImageMount"), False)
            VirtDriveCB.SelectedValue = NotNull(sysrow(0)("VDriveID"), 0)
            DriveTypeCB.Text = NotNull(sysrow(0)("DriveType"), "")
            DriveLetterTB.Text = NotNull(sysrow(0)("DriveLetter"), "")
            UseSettsScrptChB.Checked = NotNull(sysrow(0)("PerGameSetts"), False)
            KeepSettsHxChB.Checked = NotNull(sysrow(0)("KeepSettsHx"), False)
            EmuDisQLChB.Checked = NotNull(sysrow(0)("DisableQL"), False)
            EmuSettsProfUseChB.Checked = NotNull(sysrow(0)("EmuSetts"), False)
            EmuSettsProfCB.SelectedValue = NotNull(sysrow(0)("EmuSettsProfileID"), 0)
            EmuSettsAlgoCB.SelectedValue = NotNull(sysrow(0)("EmuSettsID"), 0)
            EmuUnzip.Checked = NotNull(sysrow(0)("UnzipROM"), 0)
            UseAlgoChB.Checked = NotNull(sysrow(0)("UseSettsAlgo"), False)
            DisablePIP.Checked = NotNull(sysrow(0)("DisablePIP"), False)

            cfdb.echo("Emu LOAD:")
            cfdb.echo("DTSettsID: " & sysrow(0)("EmuSettsID"))
            cfdb.echo("DTprofID: " & sysrow(0)("EmuSettsProfileID"))
            cfdb.echo("SettsID: " & EmuSettsAlgoCB.SelectedValue)
            cfdb.echo("profID: " & EmuSettsProfCB.SelectedValue)
            cfdb.echo("")


        End Sub

        Private Sub EmuSave_Click(sender As Object, e As EventArgs) Handles EmuSave.Click


            'Save Emu Setup

            If EmuIDTB.Text = "-1" Then
                MsgBox("You are attempting to save a previously cleared emu setup. Please use 'Add New' instead...")
                Return
            End If

            Dim DispRow As Integer = Convert.ToInt32(EmuIDTB.Text)
            Dim nrow() As DataRow = GemDSConfig.Tables("EmuSetups").Select("ID = '" & DispRow & "'")

            Dim chkName As Boolean = False
            Dim chkCombo As String = ""
            Dim chkEmu As Boolean = False

            Dim Valid As String = CheckEmuSave()

            If Valid <> "Valid" Then
                MsgBox(Valid, MsgBoxStyle.Exclamation)
                Return
            End If


            For Each row As DataRow In GemDSConfig.Tables("EmuSetups").Rows

                If row("ID") = DispRow Then Continue For 'Skips row if matches record being edited...
                If row("Name") = EmuNameTB.Text Then
                    chkName = True
                ElseIf row("SystemID") = EmuSysCB.SelectedValue And
                    row("EmuID") = EmuListnameCB.SelectedValue Then
                    chkCombo = row("Name")
                ElseIf row("EmuID") = EmuListnameCB.SelectedValue Then
                    chkEmu = True
                End If
            Next

            If chkName Then
                MsgBox("There is another Emulator Setup which already has this name. Please choose another Name.", MsgBoxStyle.Exclamation, "Emulator Setup Name error...")
                Return
            ElseIf chkCombo <> "" Then
                MsgBox("There is already an existing Emultor Setup for this System/Emulator combination. Please revise. The pre-existing setup name: " & vbCr & vbCr & chkCombo, MsgBoxStyle.Exclamation, "Emulator Setup error...")
                Return
            ElseIf chkEmu Then
                ' If MsgBox("An Emulator setup for this emulator already exists. It may be that you are setting up this emulator for use with a different system. Are you sure you want to save a new Emulator Setup for this emulator?", MsgBoxStyle.YesNo, "Emulator already setup...") = MsgBoxResult.No Then
                'Return
                ' End If
            End If

            If EmuNameTB.Text = "" Then EmuNameTB.Text = EmuListnameCB.Text & " (" & EmuSysCB.Text & ")"

            nrow(0)("Name") = NotNull(EmuNameTB.Text, EmuListnameCB.Text & " (" & EmuSysCB.Text & ")")
            nrow(0)("EmuID") = NotNull(EmuListnameCB.SelectedValue, 0)
            nrow(0)("SystemID") = NotNull(EmuSysCB.SelectedValue, 0)
            nrow(0)("Exe") = NotNull(EmuExeTB.Text, "")
            nrow(0)("FullBootParams") = NotNull(FullBootTB.Text, "")
            nrow(0)("SetupBootParams") = NotNull(SetupBootTB.Text, "")
            nrow(0)("ImageMount") = NotNull(MountImgChB.Checked, False)
            nrow(0)("VDriveID") = NotNull(VirtDriveCB.SelectedValue, False)
            nrow(0)("DriveType") = NotNull(DriveTypeCB.Text, "SCSI")
            nrow(0)("DriveLetter") = NotNull(DriveLetterTB.Text, GEmvoy.Setts.DefaultDrive)
            nrow(0)("DriveNumber") = NotNull(DriveLetterTB.Text, GEmvoy.Setts.DefaultDrive)
            nrow(0)("PerGameSetts") = NotNull(UseSettsScrptChB.Checked, False)
            nrow(0)("KeepSettsHx") = NotNull(KeepSettsHxChB.Checked, False)
            nrow(0)("DisableQL") = NotNull(EmuDisQLChB.Checked, False)
            nrow(0)("EmuSetts") = NotNull(EmuSettsProfUseChB.Checked, False)
            nrow(0)("EmuSettsProfileID") = NotNull(EmuSettsProfCB.SelectedValue, 0)
            nrow(0)("EmuSettsID") = NotNull(EmuSettsAlgoCB.SelectedValue, 0)
            nrow(0)("UnzipROM") = NotNull(EmuUnzip.Checked, True)
            nrow(0)("UseSettsAlgo") = NotNull(UseAlgoChB.Checked, False)
            nrow(0)("DisablePIP") = NotNull(DisablePIP.Checked, False)

            cfdb.echo("SettsID: " & EmuSettsAlgoCB.SelectedValue)
            cfdb.echo("profID: " & EmuSettsProfCB.SelectedValue)
            cfdb.echo("")
            'GemDSConfig.Tables("EmuSetups").Rows.Add(nrow)

            cfdb.echo("Saved...", False, "Save emulator")

            '  MsgBox("Emulator Setup saved.", MsgBoxStyle.OkOnly, "Emulator Setup saved...")
            ClearEmuEditIndicators()


            If Not (LogoFade.IsBusy) Then
                LogoFade.RunWorkerAsync(sender)
            End If
            Button1_Click(Nothing, Nothing) ' Save XML
        End Sub

        Private Sub EmuSelCB_SelectedIndexChanged_1(sender As Object, e As EventArgs) Handles EmuSelCB.SelectedIndexChanged
            'below
        End Sub
        Private Sub EmuSelCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles EmuSelCB.SelectionChangeCommitted

            If EmuChanges = True And FormLoadFinished = True Then
                If MsgBox("There are unsaved changes to an Emulator Setup (in red). Are you sure you want to change the Emulator setup?", MsgBoxStyle.YesNo, "Unsaved Changes...") = MsgBoxResult.No Then
                    EmuSelCB.SelectedValue = EmuIDTB.Text
                    Return
                End If

            End If
            ClearEmuEditIndicators()

            EmuSettsProfDV.RowFilter = "EmuSetupID = " & EmuSelCB.SelectedValue
            EmuSettsAlgoDV.RowFilter = "EmuSetupID = " & EmuSelCB.SelectedValue & "and GamesID is null"

            LoadEmuSetup()

            EmuAppsDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"
            EmuConfigAppsDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"

            EmuMapKeysDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"
            EmuFileExtsDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"
            EmuFileExtsDV.Sort = "Priority Asc"

            EmuSettsDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"

            EmuSettsProfs.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "'"

            'CM:
            CMEmuLB.Text = EmuListnameCB.Text

            Blurble.Text = EmuSelCB.Text

        End Sub



        Private Sub EmuAutoNameBT_Click(sender As Object, e As EventArgs) Handles EmuAutoNameBT.Click
            EmuNameTB.Text = EmuListnameCB.Text & " (" & EmuSysCB.Text & ")"
        End Sub

        Private Sub AutoSysNameBT_Click(sender As Object, e As EventArgs) Handles AutoSysNameBT.Click
            SysSetupNameTB.Text = SysCB.Text
        End Sub


        Private Sub EmuClearBT_Click(sender As Object, e As EventArgs) Handles EmuClearBT.Click
            If EmuChanges = True Then
                If MsgBox("There are unsaved changes to an Emulator Setup (in red). Are you sure you want to clear the Emulator setup?", MsgBoxStyle.YesNo, "Unsaved Changes...") = MsgBoxResult.No Then Return
            End If

            ClearEmu()




        End Sub

        Private Sub ClearEmu()
            EmuIDTB.Text = "-1"
            EmuNameTB.Text = ""
            EmuListnameCB.SelectedValue = 0
            EmuSysCB.SelectedValue = 0
            EmuExeTB.Text = ""
            FullBootTB.Text = ""
            SetupBootTB.Text = ""
            MountImgChB.Checked = False
            VirtDriveCB.SelectedValue = False
            DriveTypeCB.Text = ""
            DriveLetterTB.Text = GEmvoy.Setts.DefaultDrive
            UseSettsScrptChB.Checked = False
            KeepSettsHxChB.Checked = False
            EmuUnzip.Checked = True
            UseAlgoChB.Checked = False
            DisablePIP.Checked = False

            EmuSettsProfDV.RowFilter = "EmuSetupID = -1"
            EmuSettsAlgoDV.RowFilter = "EmuSetupID = -1"
            EmuAppsDV.RowFilter = "EmuSetupID = -1"
            EmuConfigAppsDV.RowFilter = "EmuSetupID = -1"
            EmuMapKeysDV.RowFilter = "EmuSetupID = -1"
            EmuFileExtsDV.RowFilter = "EmuSetupID = -1"
            EmuSettsDV.RowFilter = "EmuSetupID = -1"
            EmuSettsProfs.RowFilter = "EmuSetupID = -1"

            EmuSelCB.SelectedIndex = -1

            EmuSettsProfCB.SelectedIndex = -1
            EmuListnameCB.SelectedIndex = -1
            EmuSysCB.SelectedIndex = -1
            VirtDriveCB.SelectedIndex = -1
            DriveTypeCB.SelectedIndex = -1

        End Sub

        Private Sub EmuDelBT_Click(sender As Object, e As EventArgs) Handles EmuDelBT.Click

            If EmuSelCB.Items.Count = 1 Then
                MsgBox("Only one Emulator setup left, therefore cannot delete. Just edit this record instead.")
                Return
            End If

            If EmuIDTB.Text = "-1" Then Return

            Dim DispRow As Integer = Convert.ToInt32(EmuIDTB.Text)
            Dim nrow() As DataRow = GemDSConfig.Tables("EmuSetups").Select("ID = '" & DispRow & "'")

            If MsgBox("Are you sure you want to delete the Emulator Setup below?" & vbCr & vbCr & nrow(0)("Name"), MsgBoxStyle.YesNo, "Delete Emulator Setup?...") = MsgBoxResult.No Then Return

            GemDSConfig.Tables("EmuSetups").Rows.Remove(nrow(0))

            ClearEmu()

            EmuSelCB.SelectedIndex = 0
            LoadEmuSetupBT_Click(Nothing, Nothing)
            Button1_Click(Nothing, Nothing) ' Save XML

        End Sub


        Private Sub GameFileExtUpBT_Click(sender As Object, e As EventArgs) Handles GameFileExtUpBT.Click
            Dim selrowindex As Integer = EmusFileExtDGV.SelectedRows(0).Index

            If EmusFileExtDGV.SelectedRows(0).Index = 0 Then
                Return

            Else
                cfdb.echo("selrowindex: " & selrowindex)
                Dim priority As Integer = EmusFileExtDGV.SelectedRows(0).Cells("Priority").Value
                cfdb.echo("priority: " & priority)
                EmusFileExtDGV.SelectedRows(0).Cells("Priority").Value = priority - 1
                EmusFileExtDGV.Rows(selrowindex - 1).Cells("Priority").Value = EmusFileExtDGV.Rows(selrowindex - 1).Cells("Priority").Value + 1
                EmusFileExtDGV.EndEdit()
            End If

            'EmusFileExtDGV.ClearSelection()
            EmusFileExtDGV.Refresh()
            EmusFileExtDGV.Sort(EmusFileExtDGV.Columns("Priority"), System.ComponentModel.ListSortDirection.Ascending)
            EmusFileExtDGV.Rows(selrowindex - 1).Selected = True
        End Sub

        Private Sub GameFileExtDownBT_Click(sender As Object, e As EventArgs) Handles GameFileExtDownBT.Click
            Dim selrowindex As Integer = EmusFileExtDGV.SelectedRows(0).Index

            If EmusFileExtDGV.SelectedRows(0).Index = EmusFileExtDGV.ColumnCount Then
                Return

            Else
                cfdb.echo("selrowindex: " & selrowindex)
                Dim priority As Integer = EmusFileExtDGV.SelectedRows(0).Cells("Priority").Value
                cfdb.echo("priority: " & priority)
                EmusFileExtDGV.SelectedRows(0).Cells("Priority").Value = priority + 1
                EmusFileExtDGV.Rows(selrowindex + 1).Cells("Priority").Value = EmusFileExtDGV.Rows(selrowindex + 1).Cells("Priority").Value - 1
                EmusFileExtDGV.EndEdit()
            End If

            'EmusFileExtDGV.ClearSelection()
            EmusFileExtDGV.Refresh()
            EmusFileExtDGV.Sort(EmusFileExtDGV.Columns("Priority"), System.ComponentModel.ListSortDirection.Ascending)
            EmusFileExtDGV.Rows(selrowindex + 1).Selected = True
        End Sub

        Private Sub GameSysSetupCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles GameSysSetupCB.SelectionChangeCommitted
            ' HERE = INDEXING SYSTEM MIGHT BE WRONG

            '   GamesRomFolderTB.Text = GemDSConfig.Tables("SystemsSetups").Rows(GameSysSetupCB.SelectedValue).Item("RomsFolder")

            GamesRomFolderTB.Text = (GemDSConfig.Tables("SystemsSetups").Select("ID = " & GameSysSetupCB.SelectedValue)(0)).Item("RomsFolder")

            GameEmuSetupCB.SelectedValue = (GemDSConfig.Tables("SystemsSetups").Select("ID = " & GameSysSetupCB.SelectedValue)(0)).Item("DefEmuSetupID")

            ' GameEmuSetupCB.SelectedValue = GemDSConfig.Tables("SystemsSetups").Rows(GameSysSetupCB.SelectedValue).Item("DefEmuSetupID")


            '  ROMSFolderTB.Text
        End Sub

        Private Sub SysImpInfoBT_Click(sender As Object, e As EventArgs)

            Dim SysSetupRow() As DataRow
            SysSetupRow = GemDSConfig.Tables("SystemsSetups").Select("ID = '" & SysIDTB.Text & "'")

            Dim EmuDT() As DataRow
            EmuDT = GemDSConfig.Tables("UserEmulators").Select("ID = '" & SysSetupRow(0).Item("UserEmuID") & "'")

            Dim SysInfo As DataTable = Nothing




            '  SysInfo = GEInfo.ImportGEDb3(EmuDT(0).Item("Database") & ".db3", SysSetupRow(0)("SystemID"))


            SysDbInfoDGV.DataSource = SysInfo
        End Sub

        Private Sub GameRomFileBT_Click(sender As Object, e As EventArgs) Handles GameRomFileBT.Click

            With ofd1
                .Title = "Please select the Unzipped/Raw Rom File for this game..."
                .Filter = "All Files|*.*"
                Try
                    .InitialDirectory = GamesRomFolderTB.Text
                    .FileName = GameRomFileTB.Text
                Catch
                    .InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
                End Try
            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                If Path.GetDirectoryName(ofd1.FileName) <> GamesRomFolderTB.Text Then
                    MsgBox("The file is not in the ROMs folder for the selected system. Please revise...", MsgBoxStyle.Exclamation, "Rom Error..")
                    Return
                End If

                Dim FinalRomFile As String = Path.GetFileName(ofd1.FileName)
                'MsgBox(Path.GetExtension(FinalRomFile))
                If My.Settings.CloudDummyExt <> "" Then
                    If Path.GetExtension(FinalRomFile) = "." & My.Settings.CloudDummyExt Then
                        FinalRomFile = Path.GetFileNameWithoutExtension(FinalRomFile)
                    End If
                End If

                GameRomFileTB.Text = FinalRomFile
                'GameEditNameTB.Text = Path.GetFileNameWithoutExtension(FinalRomFile)
                GameEditNameTB.Text = MakeCPWBSafe(Path.GetFileNameWithoutExtension(FinalRomFile))
                GameUniqueNameTB.Text = GameRomFileTB.Text & " [" & GameEmuSetupCB.Text & "] -- [" & GameSysSetupCB.Text & "]"

            End If
        End Sub

        Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
            ' SAVE NEW GAME PROFILE - "ADD NEW"

            If GameRomFileTB.Text = "" Then
                MsgBox("Please select a Rom File...")
                Return
            End If

            Dim nrow As DataRow = GemDSConfig.Tables("Games").NewRow

            Dim chkName As Boolean = False
            Dim chkCombo As String = ""
            Dim chkEmu As Boolean = False

            For Each row As DataRow In GemDSConfig.Tables("Games").Rows
                If row("RomFile") = GameRomFileTB.Text And
                    row("SysSetupID") = GameSysSetupCB.SelectedValue And
                    row("EmuSetupID") = GameEmuSetupCB.SelectedValue Then
                    chkCombo = GameRomFileTB.Text & " [" & GameEmuSetupCB.Text & "] -- [" & GameSysSetupCB.Text & "]"
                End If
            Next

            If chkName Then
                MsgBox("There is a Game Setup which already has this Eidted Name. Please choose another Name.", MsgBoxStyle.Exclamation, "Emulator Setup Name error...")
                Return
            ElseIf chkCombo <> "" Then
                MsgBox("There is already an existing Game Profile for this ROM, System and Emulator combination. Please revise. The pre-existing profile name: " & vbCr & vbCr & chkCombo, MsgBoxStyle.Exclamation, "Game Profile Setup error...")
                Return
            ElseIf chkEmu Then
                If MsgBox("An Emulator setup for this emulator already exists. It may be that you are setting up this emulator for use with a different system. Are you sure you want to save a new Emulator Setup for this emulator?", MsgBoxStyle.YesNo, "Emulator already setup...") = MsgBoxResult.No Then
                    Return
                End If
            End If


            '   If EmuNameTB.Text = "" Then EmuNameTB.Text = EmuListnameCB.Text & " (" & EmuSysCB.Text & ")"

            nrow("EditedGameName") = NotNull(GameEditNameTB.Text, "")
            nrow("GEGameName") = NotNull(GameGENameTB.Text, "")
            nrow("UniqueGameName") = NotNull(GameUniqueNameTB.Text, "")
            nrow("EmuSetupID") = NotNull(GameEmuSetupCB.SelectedValue, 0)
            nrow("SysSetupID") = NotNull(GameSysSetupCB.SelectedValue, 0)
            nrow("RomFile") = NotNull(GameRomFileTB.Text, "")
            nrow("CmdLine") = NotNull(GameCmdTB.Text, "")
            nrow("QuickLaunchPrompt") = NotNull(GameQLaunchPrompt.Text, "")
            nrow("DisableSettsHx") = NotNull(GameSettsHxChB.Checked, False)
            nrow("DisableMount") = NotNull(GameMountChB.Checked, False)
            nrow("DefaultForGame") = True
            nrow("EmuSettsID") = NotNull(PGSettsAlgCB.SelectedValue, 0)
            nrow("EmuSettProfileID") = NotNull(PGSettsProfCB.SelectedValue, 0)
            nrow("EmuSettPGAlgo") = NotNull(PGAlgoChB.Checked, False)
            nrow("EmuSettsOveride") = NotNull(PGOverrideChB.Checked, False)
            nrow("Custom1") = NotNull(GameCustom1.Text, "")
            nrow("Custom2") = NotNull(GameCustom2.Text, "")

            ToggleDefaultGame(GameRomFileTB.Text, SysIDTB.Text, -1)
            ' unsets other game profiles for this rom from defualt - the -1 a dummy

            GemDSConfig.Tables("Games").Rows.Add(nrow)

            cfdb.echo("Saved...", False, "Save system")

            ' MsgBox("New Game Profile saved.", MsgBoxStyle.OkOnly, "Game Profile saved...")

            'ClearGame()
            ClearGameEditIndicators()

            GameSelCB.SelectedText = GameUniqueNameTB.Text
            ' GameSelCB_SelectedIndexChanged(Nothing, Nothing)

            GameSelCB.Text = GameUniqueNameTB.Text
            GameSelCB_SelectedIndexChanged(Nothing, Nothing)


            'Add GameDefault to Emu Setts 
            Dim match As Boolean
            Dim gsrow As DataRow = GemDSConfig.Tables("EmuSettsProfile").NewRow
            For Each crow As DataRow In GemDSConfig.Tables("EmuSettsProfile").Rows
                If CInt(GameID.Text) = NotNull(crow("GameID"), -1) And crow("Name") = "Game Default" Then match = True
                Continue For
            Next
            If match = False Then
                gsrow("Name") = "Game Default"
                gsrow("GameID") = GameID.Text
                GemDSConfig.Tables("EmuSettsProfile").Rows.Add(gsrow)
                'Now update Games record if UsePerGame = true or EmuSetsOverride = true
                nrow = GemDSConfig.Tables("Games").Select("ID = " & GameID.Text)(0)
                Dim srow As DataRow = GemDSConfig.Tables("EmuSettsProfile").Select("GameID = " & GameID.Text)(0)
                If UseSettsScrptChB.Checked Or nrow("EmuSettsOveride") Then
                    nrow("EmuSettProfileID") = srow("ID")
                End If
            End If
            PGSettsProfCB.SelectedIndex = PGSettsProfCB.FindStringExact("Game Default")
            If Not (LogoFade.IsBusy) Then
                LogoFade.RunWorkerAsync(sender)
            End If
            Button1_Click(Nothing, Nothing) ' Save XML
        End Sub

        Private Sub ComboBox1_DropDown(ByVal sender As Object, ByVal e As System.EventArgs) Handles GameSelCB.DropDown
            Dim myCombo As ComboBox = CType(sender, ComboBox)
            Dim cbWidth As Integer = myCombo.DropDownWidth
            Dim drawGraphics As Graphics = myCombo.CreateGraphics
            Dim myFont As Font = myCombo.Font
            Dim longestItem As Integer
            For Each cbItems As DataRowView In CType(sender, ComboBox).Items
                longestItem = (CType(drawGraphics.MeasureString(cbItems.Item("UniqueGameName"), myFont).Width, Integer))
                If cbWidth < longestItem Then
                    cbWidth = longestItem
                End If
            Next
            myCombo.DropDownWidth = cbWidth
        End Sub

        Private Sub SysSetupSelCB_SelectedIndexChanged_1(sender As Object, e As EventArgs) Handles SysSetupSelCB.SelectedIndexChanged
            'below
        End Sub
        Private Sub SysSetupSelCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles SysSetupSelCB.SelectionChangeCommitted
            cfdb.echo("HERE: SysSetupSelCB.SelectionChangeCommitted")
            If SysChanges = True Then
                If MsgBox("There are unsaved changes (in red). Are you sure you want to change the System setup?", MsgBoxStyle.YesNo, "Unsaved Changes...") = MsgBoxResult.No Then
                    SysSetupSelCB.SelectedValue = SysIDTB.Text
                    Return
                End If
            End If

            ClearEditIndicators()

            cfdb.echo("DD value: " & SysSetupSelCB.SelectedValue, False, "Populate System")

            PopulateSystems()

            EmuSelCB.SelectedValue = EmuSetupCB.SelectedValue
            EmuSelCB_SelectedIndexChanged(Nothing, Nothing)

            SAppsDV.RowFilter = "SysSetupID = '" & SysSetupSelCB.SelectedValue & "'"

            GameSelDV.RowFilter = "SysSetupID = '" & SysSetupSelCB.SelectedValue & "'"

            GameSysSetupCB.SelectedValue = SysSetupSelCB.SelectedValue
            GameSysSetupCB_SelectedIndexChanged(Nothing, Nothing)

            If GameSelCB.Items.Count > 0 Then
                GameSelCB.SelectedIndex = 0
                GameSelCB_SelectedIndexChanged(Nothing, Nothing)
            Else
                'GameSelCB.SelectedIndex = 0
                'GameSelCB_SelectedIndexChanged(Nothing, Nothing)
                ChangeGamesList(True)
                ClearGame()
            End If

            'Narrow down emu selector to system only emus
            FiltEmusDV.RowFilter = "SystemID = " & SysCB.SelectedValue

            'change CM
            CMSysLB.Text = SysCB.Text


        End Sub

        Private Sub LoadGame()
            cfdb.echo("GameSelCB: " & GameSelCB.SelectedValue)
            cfdb.echo("GameSysSetupCB: " & GameSysSetupCB.SelectedValue)
            Dim gameidtemp As Integer = GameSelCB.SelectedValue
            Dim sysrow() As DataRow = GemDSConfig.Tables("Games").Select("ID = '" & gameidtemp & "'")

            '   Dim sysrow() As DataRow = GemDSConfig.Tables("Games").Select("ID = '" & GameSelCB.SelectedValue & "'")

            FiltEmusDV.RowFilter = ""

            GameID.Text = sysrow(0)("ID")
            GameEditNameTB.Text = sysrow(0)("EditedGameName")
            GameGENameTB.Text = sysrow(0)("GEGameName")
            GameUniqueNameTB.Text = sysrow(0)("UniqueGameName")
            GameEmuSetupCB.SelectedValue = sysrow(0)("EmuSetupID")
            GameSysSetupCB.SelectedValue = sysrow(0)("SysSetupID")
            GameRomFileTB.Text = sysrow(0)("RomFile")
            GameCmdTB.Text = sysrow(0)("CmdLine")
            GameQLaunchPrompt.Text = sysrow(0)("QuickLaunchPrompt")
            GameSettsHxChB.Checked = NotNull(sysrow(0)("DisableSettsHx"), False)
            GameMountChB.Checked = NotNull(sysrow(0)("DisableMount"), False)
            Def4gameChB.Checked = NotNull(sysrow(0)("DefaultForGame"), False)
            SupSuppAppsChB.Checked = NotNull(sysrow(0)("SuppSupportApps"), False)
            SupKeyMapChB.Checked = NotNull(sysrow(0)("SuppKeyRemaps"), False)
            GameCustom1.Text = NotNull(sysrow(0)("Custom1"), "")
            GameCustom2.Text = NotNull(sysrow(0)("Custom2"), "")

            PGSettsAlgCB.SelectedValue = NotNull(sysrow(0)("EmuSettsID"), 0)
            ' TextBox1.Text = sysrow(0)("EmuSettProfileID")
            PGSettsProfCB.SelectedValue = NotNull(sysrow(0)("EmuSettProfileID"), -1)
            'PGSettsProfCB.SelectedValue = 12

            PGAlgoChB.Checked = NotNull(sysrow(0)("EmuSettPGAlgo"), False)
            PGOverrideChB.Checked = NotNull(sysrow(0)("EmuSettsOveride"), False)

            Dim GameSys As Integer = sysrow(0)("SysSetupID")
            Dim GameEmu As Integer = sysrow(0)("EmuSetupID")

            sysrow = GemDSConfig.Tables("SystemsSetups").Select("ID = '" & GameSys & "'")
            GameInPromptCB.Text = sysrow(0)("QuicklaunchPrompt")

            sysrow = GemDSConfig.Tables("EmuSetups").Select("ID = '" & GameEmu & "'")
            GameInMountChB.Checked = sysrow(0)("ImageMount")
            GameInSettsHxChB.Checked = sysrow(0)("KeepSettsHx")

            If PGAlgoChB.Checked = False Then
                PGSettsAlgCB.Enabled = False
            Else
                PGSettsAlgCB.Enabled = True
            End If

        End Sub

        Private Sub ClearGame()
            GameID.Text = "-1"
            GameEditNameTB.Text = ""
            GameGENameTB.Text = ""
            GameUniqueNameTB.Text = ""
            ' GameEmuSetupCB.SelectedValue = sysrow(0)("EmuSetupID")
            ' GameSysSetupCB.SelectedValue = sysrow(0)("SysSetupID")
            GameRomFileTB.Text = ""
            GameCmdTB.Text = ""
            GameQLaunchPrompt.Text = "As per System Setup"
            GameSettsHxChB.Checked = False
            GameMountChB.Checked = False
            Def4gameChB.Checked = False
            GameCustom1.Text = ""
            GameCustom2.Text = ""
            SupKeyMapChB.Checked = False
            SupSuppAppsChB.Checked = False

            PGAlgoChB.Checked = False
            PGSettsAlgCB.Text = ""
            PGOverrideChB.Checked = False
            PGSettsAlgCB.Text = ""
            'PGSettsProfCB.SelectedValue = EmuSettsProfCB.SelectedValue
            PGSettsProfCB.SelectedIndex = -1

            PGSettsProfCB.SelectedIndex = -1
            PGSettsAlgCB.SelectedIndex = -1

            GameSettsProfDV.RowFilter = "GameID = -1"


        End Sub

        Private Sub GameSelCB_SClick(sender As Object, e As EventArgs) Handles GameSelCB.Click
            sender.text = ""
        End Sub

        Private Sub GameSelCB_SelectedIndexChanged_1(sender As Object, e As EventArgs) Handles GameSelCB.SelectedIndexChanged
            'BELOW
        End Sub
        Private Sub GameSelCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles GameSelCB.SelectionChangeCommitted

            If GameChanges = True And FormLoadFinished = True Then
                If MsgBox("There are unsaved changes to a Game Profile (in red). Are you sure you want to change the Game Profile?", MsgBoxStyle.YesNo, "Unsaved Changes...") = MsgBoxResult.No Then
                    Return
                Else
                    ' GameSelCB.SelectedValue = GameID.Text
                    ClearGameEditIndicators()
                End If
            End If

            If GameSelCB.SelectedValue = Nothing Then
                cflog.echo("Game selection in selector ambiguous. Resetting to first on list...")
                GameSelCB.SelectedIndex = 0
            End If
            'MsgBox("blurgh")

            ' ClearEmuEditIndicators()
            LoadGame()
            GameSettsAlgoDV.RowFilter = "GamesID = " & GameSelCB.SelectedValue
            GameAppsDV.RowFilter = "GameID = '" & GameID.Text & "'"
            GameMapKeysDV.RowFilter = "GameID = '" & GameID.Text & "'"


            cfdb.echo("HERE: " & GameEmuSetupCB.SelectedValue)

            'change emu
            EmuSelCB.SelectedValue = GameEmuSetupCB.SelectedValue
            EmuSelCB_SelectedIndexChanged(Nothing, Nothing)

            GameSettsProfs.RowFilter = "GameID = " & GameID.Text '& "' OR EmuSetupID = " & EmuIDTB.Text
            GameSettsProfDV.RowFilter = "GameID = " & GameSelCB.SelectedValue ' & " OR EmuSetupID = " & EmuIDTB.Text

            'CM
            CMGameLB.Text = StringTruncate(GameEditNameTB.Text, 20)
            CMGameLB.ToolTipText = GameEditNameTB.Text

            NoAppsTB.Text = EmuSuppAppsDGV.RowCount + Sys_SAppsDGV.RowCount - 2
            NoRemapsTB.Text = EmuKeyRemapDGV.RowCount - 1
            EmuOnlyChB.Checked = EmuSettsProfUseChB.Checked
            EmuProfTB.Text = EmuSettsProfCB.Text

            If EmuSettsPerGame() Then
                EmuSettsIndicatorPB.Image = My.Resources.pac
                EmuSettsIndicatorPB.BackColor = Color.LightGreen
            Else
                EmuSettsIndicatorPB.Image = My.Resources.emu
                EmuSettsIndicatorPB.BackColor = Color.Yellow
            End If

            GameSpecSettsContext.Checked = EmuSettsPerGame()

            GamesListDV.RowFilter = "SysSetupID = " & SysIDTB.Text

            ChangeGamesList(False)

            If CheckBox1.Checked = True Then
                TabControl1.SelectedIndex = 2
            End If


        End Sub

        Sub ChangeGamesList(MakeNull As Boolean)

            If MakeNull Then GamesListDV.RowFilter = "SysSetupID = -1"
            Select Case GamesListFilterCB.Text
                Case "ROM"
                    GamesListDV.RowFilter = "SysSetupID = " & SysIDTB.Text & String.Format(" AND RomFile =  '{0}'", GameRomFileTB.Text.Replace("'", "''"))

                Case "Emulator"
                    GamesListDV.RowFilter = "SysSetupID = " & SysIDTB.Text & " AND EmuSetupID = " & EmuIDTB.Text
                Case "All"
                    GamesListDV.RowFilter = "SysSetupID = " & SysIDTB.Text
            End Select
        End Sub

        Private Function StringTruncate(ByVal strString As String, ByVal iLen As Integer, Optional addEllipses As Boolean = True) As String
            If addEllipses Then
                StringTruncate = Microsoft.VisualBasic.Left(strString, iLen) & "..."
            Else
                StringTruncate = Microsoft.VisualBasic.Left(strString, iLen)
            End If
        End Function

        Private Sub GamesSave_Click(sender As Object, e As EventArgs) Handles GamesSave.Click

            If GameRomFileTB.Text = "" Then
                MsgBox("Please select a Rom File...")
                Return
            End If

            ' MsgBox(GameID.Text)

            If GameID.Text = "-1" Then
                MsgBox("This Profile is being created form a blank. Therefore, please select 'Add New'", MsgBoxStyle.Exclamation)
                Return
            End If

            Dim DispRow As Integer = Convert.ToInt32(GameID.Text)
            Dim nrow() As DataRow = GemDSConfig.Tables("Games").Select("ID = '" & DispRow & "'")

            nrow(0)("EditedGameName") = NotNull(GameEditNameTB.Text, "")
            nrow(0)("GEGameName") = NotNull(GameGENameTB.Text, "")
            nrow(0)("UniqueGameName") = NotNull(GameUniqueNameTB.Text, "")
            nrow(0)("EmuSetupID") = NotNull(GameEmuSetupCB.SelectedValue, 0)
            nrow(0)("SysSetupID") = NotNull(GameSysSetupCB.SelectedValue, 0)
            nrow(0)("RomFile") = NotNull(GameRomFileTB.Text, "")
            nrow(0)("CmdLine") = NotNull(GameCmdTB.Text, "")
            nrow(0)("QuickLaunchPrompt") = NotNull(GameQLaunchPrompt.Text, "")
            nrow(0)("DisableSettsHx") = NotNull(GameSettsHxChB.Checked, False)
            nrow(0)("DisableMount") = NotNull(GameMountChB.Checked, False)
            nrow(0)("SuppSupportApps") = NotNull(SupSuppAppsChB.Checked, False)
            nrow(0)("SuppKeyRemaps") = NotNull(SupKeyMapChB.Checked, False)
            nrow(0)("EmuSettsID") = NotNull(PGSettsAlgCB.SelectedValue, 0)
            nrow(0)("EmuSettProfileID") = NotNull(PGSettsProfCB.SelectedValue, 0)
            nrow(0)("EmuSettPGAlgo") = NotNull(PGAlgoChB.Checked, False)
            nrow(0)("EmuSettsOveride") = NotNull(PGOverrideChB.Checked, False)
            nrow(0)("Custom1") = NotNull(GameCustom1.Text, "")
            nrow(0)("Custom2") = NotNull(GameCustom2.Text, "")


            'nrow(0)("DefaultForGame") = NotNull(Def4gameChB.Checked, False)
            If Def4gameChB.Checked = True Then
                ToggleDefaultGame(GameRomFileTB.Text, SysIDTB.Text, Convert.ToInt32(GameID.Text))
            Else
                nrow(0)("DefaultForGame") = False
            End If

            cfdb.echo("Saved...", False, "Save Game Profile")

            'MsgBox("Game Profile saved.", MsgBoxStyle.OkOnly, "Game Profile saved...")
            ClearGameEditIndicators()
            If Not (LogoFade.IsBusy) Then
                LogoFade.RunWorkerAsync(sender)
            End If
            Button1_Click(Nothing, Nothing) ' Save XML
        End Sub



        Private Sub ToggleDefaultGame(RomFile As String, SysSetupID As Integer, PresID As Integer)

            Dim selrows() As DataRow = Nothing
            cfdb.echo("HERE: " & SysSetupID & ", " & RomFile)
            selrows = GemDSConfig.Tables("Games").Select("SysSetupID = '" & SysSetupID & "' AND RomFile = '" & MakeSQLSafe(RomFile) & "'")
            For Each row As DataRow In selrows
                'MsgBox(row.Item("UniqueGameName"))
                If row.Item("ID") = PresID Then
                    row.Item("DefaultForGame") = True
                Else
                    row.Item("DefaultForGame") = False
                End If
            Next

        End Sub

        Public Function MakeSQLSafe(ByVal sql As String) As String
            'first i'd avoid putting quote chars in as they might be valid? just double them up.
            Dim strIllegalChars As String = "/?-^%{}[];$=*`#|&@\<>()+,\"
            'replace single quotes with double so they don't cause escape character
            If sql.Contains("'") Then
                sql = sql.Replace("'", "''")
            End If
            'need to double up double quotes from what I remember to get them through
            If sql.Contains("""") Then
                sql = sql.Replace("""", """""")
            End If
            'remove illegal chars
            For Each c As Char In strIllegalChars
                If sql.Contains(c.ToString) Then
                    sql = sql.Replace(c.ToString, "")
                End If
            Next

            Return sql
        End Function

        Public Function MakeCPWBSafe(ByVal str As String) As String

            'remove brackets
            If GEmvoy.Setts.StripBrackets = True Then
                str = Regex.Replace(str, "\[(.*?)\]", "")
                str = Regex.Replace(str, "\((.*?)\)", "")
            End If

            'str = str.Replace("\\(.+\\)", "")
            ' str = str.Replace("\\[[^\\(]*\\]", "")
            Dim strIllegalChars As String = "^()[]${}*|<>"
            'If str.Contains("!") Then
            '    str = str.Replace("!", "")
            'End If
            For Each c As Char In strIllegalChars
                If str.Contains(c.ToString) Then
                    str = str.Replace(c.ToString, " -")
                End If
            Next
            str = str.Trim()
            Return str
        End Function

        Private Sub GamesDelete_Click(sender As Object, e As EventArgs) Handles GamesDelete.Click
            If GameSelCB.Items.Count = 1 Then
                MsgBox("Only one Game Profile left, therefore cannot delete. Just edit this record instead.")
                Return
            End If

            If GameID.Text = "-1" Then Return

            If GameID.Text = "" Then Return

            Dim DispRow As Integer = Convert.ToInt32(GameID.Text)
            Dim nrow() As DataRow = GemDSConfig.Tables("Games").Select("ID = '" & DispRow & "'")

            If MsgBox("Are you sure you want to delete the Game Profile below?" & vbCr & vbCr & nrow(0)("UniqueGameName"), MsgBoxStyle.YesNo, "Delete Game Profile?...") = MsgBoxResult.No Then Return

            'del ql folder if set in settings

            If GEmvoy.Setts.DeleteQuicklaunch = True Then
                Dim qlfolder = QuicklaunchTB.Text & "\" & CleanFolderString(GameRomFileTB.Text)
                cfdb.echo("Delete Quickalunch set to true. Considering folder: " & QuicklaunchTB.Text & "\" & CleanFolderString(GameRomFileTB.Text))
                If Directory.Exists(qlfolder) Then
                    cfdb.echo("Folder exists - deleting.")
                    Try
                        Directory.Delete(qlfolder, True)
                    Catch ex As Exception
                        MsgBox("Error deleteing Quicklaunch Folder. Please check + delete manually if appropriate. Details: " & vbCr & vbCr & ex.Message, MsgBoxStyle.Exclamation)
                    End Try

                Else
                    cfdb.echo("QLaunch folder didn't exist")
                End If
            End If


            GemDSConfig.Tables("Games").Rows.Remove(nrow(0))

            ClearGame()

            GameSelCB.SelectedIndex = 0
            GameSelCB_SelectedIndexChanged(Nothing, Nothing)
            Button1_Click(Nothing, Nothing) ' Save XML
        End Sub

        Private Function CleanFolderString(raw As String)
            For Each c As Char In IO.Path.GetInvalidFileNameChars
                raw = raw.Replace(c, "")
            Next
            Return raw
        End Function

        Private Sub GameEmuSetupCB_SelectionChangeCommitted(sender As Object, e As EventArgs) Handles GameEmuSetupCB.SelectionChangeCommitted
            GameUniqueNameTB.Text = GameRomFileTB.Text & " [" & GameEmuSetupCB.Text & "] -- [" & GameSysSetupCB.Text & "]"
        End Sub


        Private Sub GameClear_Click(sender As Object, e As EventArgs) Handles GameClear.Click
            If GameChanges = True Then
                If MsgBox("There are unsaved changes to a Game Profile (in red). Are you sure you want to make a blank Game Profile?", MsgBoxStyle.YesNo, "Unsaved Changes...") = MsgBoxResult.No Then Return
            End If
            ClearGameEditIndicators()
            ClearGame()
        End Sub

        Private Sub GamesGo_Click(sender As Object, e As EventArgs) Handles GamesGo.Click
            If GameSelCB.Text = "" Then Return
            GameSelCB_SelectedIndexChanged(Nothing, Nothing)
        End Sub

        Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click
            'Game Auto
            GameEditNameTB.Text = MakeCPWBSafe(Path.GetFileNameWithoutExtension(GameRomFileTB.Text))
        End Sub

        Private Sub UnECMChB_CheckedChanged(sender As Object, e As EventArgs) Handles UnECMChB.CheckedChanged
            If sender.checked = True Then
                GEmvoy.Setts.ShowUnECM = True
            Else
                GEmvoy.Setts.ShowUnECM = False
            End If
        End Sub


        Private Sub DriveLtrTB_TextChanged_1(sender As Object, e As EventArgs) Handles DriveLtrTB.Validated
            GEmvoy.Setts.DefaultDrive = DriveLtrTB.Text
        End Sub

        Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles DriveLtrTB.KeyPress
            e.Handled = True

            If e.KeyChar Like "[A-z]" Or
               IsNumeric(e.KeyChar) Then
                e.Handled = False
                ' GEmvoy.Setts.DefaultDrive = DriveLetterTB.Text
            End If
            If e.KeyChar = ControlChars.Back Then e.Handled = False

        End Sub


        ' ============================  HEYHOOK STUFF =========================


        Private Declare Function GetKeyState Lib "user32.dll" (ByVal key As Keys) As Short

        <DllImport("user32.dll", EntryPoint:="VkKeyScanEx", CharSet:=CharSet.Unicode)>
        Friend Shared Function GetKeyCode(
                           ByVal c As Char,
                           Optional ByVal KeyboardLayout As UIntPtr = Nothing
    ) As Short
        End Function

        <DllImport("user32.dll", CharSet:=CharSet.Auto)> _
        Public Shared Function MapVirtualKey(ByVal uCode As Integer, ByVal nMapType As Integer) As Integer
        End Function

        Public Shared Function GetLoByte(ByVal value As Short) As Byte
            Return BitConverter.GetBytes(value).First
        End Function

        Private Sub CatchDataError(sender As Object, e As DataGridViewDataErrorEventArgs)
            'MsgBox("Dataerror: " & e.Exception.Message)
            Try
                'cfdb.echo("")
                'cfdb.echo(sender.name, True, "data error")
                'cfdb.echo("IN: " & e.ColumnIndex & ", " & e.RowIndex & " :: " & e.Exception.ToString)
                cflog.err("Data Error: " & e.Exception.Message)
                cflog.err("Name: " & sender.name)
                cflog.err("IN: " & e.ColumnIndex & ", " & e.RowIndex & " :: " & e.Exception.ToString)
            Catch
            End Try

        End Sub

        Private Sub PrevKey(ByVal sender As Object, ByVal e As PreviewKeyDownEventArgs) Handles PrevTB.PreviewKeyDown

            Dim kc As New KeysConverter

            Dim KeyCode = e.KeyCode
            Dim FriendlyName As String = kc.ConvertToString(e.KeyCode)
            Dim ControlKey As Boolean = False

            'Test if shift,ctrl or alt pressed
            If e.KeyCode = Keys.Control Or e.KeyCode = Keys.Alt Or e.KeyCode = Keys.Shift Then
                cfdb.echo("Control key pressed")
                ControlKey = True
            End If

            '    cfdb.echo("MOdified keys used. Determining which one...")
            If GetKeyState(Keys.LShiftKey) < 0 Then
                KeyCode = 160
                FriendlyName = "LShiftKey"
            ElseIf GetKeyState(Keys.LControlKey) < 0 Then
                KeyCode = 162
                FriendlyName = "LControlKey"
            ElseIf GetKeyState(Keys.LWin) < 0 Then
                KeyCode = 91
                FriendlyName = "LWin"
            ElseIf GetKeyState(Keys.RControlKey) < 0 Then
                KeyCode = 163
                FriendlyName = "RControlKey"
            ElseIf GetKeyState(Keys.RShiftKey) < 0 Then
                KeyCode = 161
                FriendlyName = "RShiftKey"
            ElseIf GetKeyState(Keys.RWin) < 0 Then
                KeyCode = 92
                FriendlyName = "RWin"
            ElseIf GetKeyState(Keys.LMenu) < 0 Then
                KeyCode = 164
                FriendlyName = "LMenu"
            ElseIf GetKeyState(Keys.RMenu) < 0 Then
                KeyCode = 165
                FriendlyName = "RMenu"
            End If
            'End If
            MsgBox("KeyName: " & FriendlyName & vbCr & "KeyCode: " & KeyCode, MsgBoxStyle.Information)

        End Sub

        Private Sub DGVKeyHook(ByVal sender As Object, ByVal e As PreviewKeyDownEventArgs) Handles EmuKeyRemapDGV.PreviewKeyDown, GameKeyRemapDGV.PreviewKeyDown

            If e.KeyCode = Keys.Tab Then
                cfdb.echo("Tab key pressed - returning without aciton to ensure tabbing in dgv works...")
                Return
            End If

            Dim SelCell As DataGridViewCell
            Dim SelRow As DataGridViewRow

            cfdb.echo("Name: " & sender.name)

            If sender.name = "EmuKeyRemapDGV" Then
                SelCell = EmuKeyRemapDGV.CurrentCell
                SelRow = EmuKeyRemapDGV.CurrentRow
            Else
                SelCell = GameKeyRemapDGV.CurrentCell
                SelRow = GameKeyRemapDGV.CurrentRow
            End If

            Dim DGVCol As String = NotNull(EmuKeyRemapDGV.Columns(SelCell.ColumnIndex).HeaderCell.Value, "")
            Dim kc As New KeysConverter

            Dim KeyCode = e.KeyCode
            Dim FriendlyName As String = kc.ConvertToString(e.KeyCode)
            Dim ControlKey As Boolean = False

            'Test if shift,ctrl or alt pressed
            If e.KeyCode = Keys.Control Or e.KeyCode = Keys.Alt Or e.KeyCode = Keys.Shift Then
                cfdb.echo("Control key pressed")
                ControlKey = True
            End If
            '    cfdb.echo("MOdified keys used. Determining which one...")
            If GetKeyState(Keys.LShiftKey) < 0 Then
                KeyCode = 160
                FriendlyName = "LShiftKey"
            ElseIf GetKeyState(Keys.LControlKey) < 0 Then
                KeyCode = 162
                FriendlyName = "LControlKey"
            ElseIf GetKeyState(Keys.LWin) < 0 Then
                KeyCode = 91
                FriendlyName = "LWin"
            ElseIf GetKeyState(Keys.RControlKey) < 0 Then
                KeyCode = 163
                FriendlyName = "RControlKey"
            ElseIf GetKeyState(Keys.RShiftKey) < 0 Then
                KeyCode = 161
                FriendlyName = "RShiftKey"
            ElseIf GetKeyState(Keys.RWin) < 0 Then
                KeyCode = 92
                FriendlyName = "RWin"
            ElseIf GetKeyState(Keys.LMenu) < 0 Then
                KeyCode = 164
                FriendlyName = "LMenu"
            ElseIf GetKeyState(Keys.RMenu) < 0 Then
                KeyCode = 165
                FriendlyName = "RMenu"
            End If
            'End If

            cfdb.echo("")
            cfdb.echo("KeyCode: " & KeyCode)
            cfdb.echo("KeyName: " & kc.ConvertToString(KeyCode))
            cfdb.echo("Friendly Name: " & FriendlyName)


            cfdb.echo("", False, "DGV Keydown")
            cfdb.echo("DGV Col Header: " & DGVCol)

            If DGVCol = "From" Or DGVCol = "To" Or DGVCol = "Mod" Then

                Dim rowhit() As DataRow = GemDSConfig.Tables("Keys").Select("WinKeyCode = '" &
                                                    KeyCode & "'")
                If rowhit.Count = 0 Then
                    Dim nrow As DataRow = GemDSConfig.Tables("Keys").NewRow
                    nrow("WinKeyCode") = KeyCode
                    nrow("VKeyCode") = 0
                    nrow("WinEnumName") = kc.ConvertToString(KeyCode)
                    nrow("FriendlyName") = FriendlyName
                    GemDSConfig.Tables("Keys").Rows.Add(nrow)
                End If

                Dim NewID As Integer = GemDSConfig.Tables("Keys").Rows(GemDSConfig.Tables("Keys").Rows.Count - 1).Item("ID")
                SelCell.Value = NewID

                sender.NotifyCurrentCellDirty(True)
                sender.endedit()
                sender.NotifyCurrentCellDirty(False)
            End If

            ' MsgBox(EmuKeyRemapDGV.SelectedColumns(0).HeaderText)


        End Sub

        ' ============================  HEYHOOK STUFF END =========================


        Private Sub EmuSettsTypeCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles EmuSettsTypeCB.SelectedIndexChanged

            If EmuSettsTypeCB.Text = "Emulator" Then
                EmuSettsDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "' AND GamesID is NULL"
            ElseIf EmuSettsTypeCB.Text = "Game" Then
                EmuSettsDV.RowFilter = "GamesID = '" & GameID.Text & "'"
            ElseIf EmuSettsTypeCB.Text = "All" Then
                EmuSettsDV.RowFilter = "EmuSetupID = '" & EmuIDTB.Text & "' OR GamesID = '" & GameID.Text & "'"
            End If

        End Sub


        Private Sub EmuSettsRowSel(sender As Object, e As DataGridViewCellEventArgs) Handles EmuSettsDGV.RowEnter

            EmuSettsIDTB.Text = EmuSettsDGV.Rows(e.RowIndex).Cells("ID").Value
            EmuSettsItemsDV.RowFilter = "EmuSettsID = " & EmuSettsIDTB.Text

        End Sub

        Private Sub EmuSettsChange(sender As Object, e As EventArgs) Handles EmuSettsDV.ListChanged
            Dim SettsID As Integer
            If EmuSettsDGV.RowCount = 0 Then
                SettsID = -1
            Else
                SettsID = EmuSettsDGV.Rows(0).Cells("ID").Value
            End If
            EmuSettsIDTB.Text = SettsID
            EmuSettsItemsDV.RowFilter = "EmuSettsID = " & SettsID

            ' EmuSettsTypeCB.SelectedIndex = 0

        End Sub

        Private Sub EmuSettsFileBT_Click(sender As Object, e As EventArgs) Handles EmuSettsFileBT.Click

            Dim file As String = ""

            With ofd1
                .Title = "Choose the File to use for the Emulator Settings Sync"
                .Filter = "All Files|*.*"
                If Directory.Exists(Path.GetDirectoryName(EmuExeTB.Text)) Then
                    .InitialDirectory = Path.GetDirectoryName(EmuExeTB.Text)
                End If
            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                file = MakeRelativePath(Path.GetDirectoryName(EmuExeTB.Text) & "\", ofd1.FileName)
            Else
                Return
            End If

            Dim newrow As DataRow = GemDSConfig.Tables("EmuSettsItems").NewRow
            newrow.Item("Name") = Path.GetFileName(file)
            newrow.Item("EmuSettsID") = EmuSettsIDTB.Text
            newrow.Item("ItemText") = file
            newrow.Item("Type") = "File"
            newrow.Item("BackupOnly") = False
            newrow.Item("Info") = ""
            GemDSConfig.Tables("EmuSettsItems").Rows.Add(newrow)
        End Sub

        Public Shared Function MakeRelativePath(fromPath As String, toPath As String) As String


            If [String].IsNullOrEmpty(fromPath) Then
                Throw New ArgumentNullException("fromPath")
            End If
            If [String].IsNullOrEmpty(toPath) Then
                Throw New ArgumentNullException("toPath")
            End If

            Dim fromUri As New Uri(fromPath)
            Dim toUri As New Uri(toPath)

            If fromUri.Scheme <> toUri.Scheme Then
                Return toPath
            End If
            ' path can't be made relative.
            Dim relativeUri As Uri = fromUri.MakeRelativeUri(toUri)
            Dim relativePath As [String] = Uri.UnescapeDataString(relativeUri.ToString())

            If toUri.Scheme.ToUpperInvariant() = "FILE" Then
                relativePath = relativePath.Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar)
            End If

            Return relativePath
        End Function



        Private Sub EmuSettsFolderBT_Click(sender As Object, e As EventArgs) Handles EmuSettsFolderBT.Click
            Dim folder As String = ""
            With FBD1
                .Description = "Choose the Folder to use for the Emulator Settings Sync"
                If Directory.Exists(Path.GetDirectoryName(EmuExeTB.Text)) Then
                    .SelectedPath = Path.GetDirectoryName(EmuExeTB.Text)
                End If
                .ShowNewFolderButton = False
            End With
            Dim result As Windows.Forms.DialogResult = FBD1.ShowDialog()
            If result = Windows.Forms.DialogResult.OK Then
                folder = MakeRelativePath(Path.GetDirectoryName(EmuExeTB.Text) & "\", FBD1.SelectedPath)
            Else
                Return
            End If

            Dim newrow As DataRow = GemDSConfig.Tables("EmuSettsItems").NewRow
            newrow.Item("Name") = Path.GetFileName(folder)
            newrow.Item("EmuSettsID") = EmuSettsIDTB.Text
            newrow.Item("ItemText") = folder
            newrow.Item("Type") = "Folder"
            newrow.Item("BackupOnly") = False
            newrow.Item("Info") = ""
            GemDSConfig.Tables("EmuSettsItems").Rows.Add(newrow)

        End Sub

        Private Sub NotifyIcon1_MouseDoubleClick(sender As Object, e As Windows.Forms.MouseEventArgs) Handles NotifyIcon1.MouseDoubleClick
            Me.WindowState = FormWindowState.Normal
            Me.Show()
            Me.BringToFront()
        End Sub

        'Private Sub GEmvoyToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles TITLE.Click
        '    Me.WindowState = FormWindowState.Normal
        '    Me.Show()
        '    Me.BringToFront()
        'End Sub

        Private Sub PrevTBEraseBT_Click(sender As Object, e As EventArgs) Handles PrevTBEraseBT.Click
            PrevTB.Text = ""
        End Sub


        Private Sub EmuAddProfBT_Click(sender As Object, e As EventArgs) Handles EmuAddProfBT.Click

            If EmuAddProfTB.Text = "" Then Return

            Dim newrow As DataRow = GemDSConfig.Tables("EmuSettsProfile").NewRow
            newrow.Item("EmuSetupID") = EmuIDTB.Text
            newrow.Item("Name") = EmuAddProfTB.Text
            newrow.Item("Notes") = ""
            GemDSConfig.Tables("EmuSettsProfile").Rows.Add(newrow)

            MsgBox("New Emulator Settings Profile Created.", MsgBoxStyle.Information)
            EmuAddProfTB.Text = ""
            Button1_Click(Nothing, Nothing) ' Save XML
        End Sub

        Private Sub EmuIDTB_TextChanged(sender As Object, e As EventArgs) Handles EmuIDTB.TextChanged
            If sender.text = "-1" Then
                EmuSuppAppsDGV.Visible = False
                EmuKeyRemapDGV.Visible = False
                EmuConfigAppsDGV.Visible = False
                EmusFileExtDGV.Visible = False
                EmuSettsProfsDGV.Visible = False
                GameFileExtUpBT.Visible = False
                GameFileExtDownBT.Visible = False
                SysEmusDGV.Visible = False
                GroupBox24.Visible = False
                EmuSettsScriptGB.Visible = False
            Else
                EmuSuppAppsDGV.Visible = True
                EmuKeyRemapDGV.Visible = True
                EmuConfigAppsDGV.Visible = True
                EmusFileExtDGV.Visible = True
                EmuSettsProfsDGV.Visible = True
                GameFileExtUpBT.Visible = True
                GameFileExtDownBT.Visible = True
                SysEmusDGV.Visible = True
                GroupBox24.Visible = True
                EmuSettsScriptGB.Visible = True
            End If

        End Sub

        Private Sub NewEmu_Click(sender As Object, e As EventArgs) Handles NewEmuBT.Click

            Dim def As Boolean = True

            'Dim srow() As DataRow = GemDSConfig.Tables("EmuSetts").Select("EmuSetupID = " & EmuIDTB.Text)
            'For Each row As DataRow In srow
            '    If NotNull(row.Item("DefaultForEmu"), False) = True Then
            '        def = False
            '    End If
            'Next

            Dim newrow As DataRow = GemDSConfig.Tables("EmuSetts").NewRow
            newrow.Item("EmuSetupID") = EmuIDTB.Text
            newrow.Item("Name") = EmuSelCB.Text
            'newrow.Item("DefaultForEmu") = def
            GemDSConfig.Tables("EmuSetts").Rows.Add(newrow)

            MsgBox("New Emulator Settings Algorithm Created.", MsgBoxStyle.Information)

        End Sub


        Private Sub NewGameBT_Click(sender As Object, e As EventArgs) Handles NewGameBT.Click
            Dim def As Boolean = True

            'Dim srow() As DataRow = GemDSConfig.Tables("EmuSetts").Select("GamesID = " & GameID.Text)
            'For Each row As DataRow In srow
            '    If NotNull(row.Item("DefaultForGame"), False) = True Then
            '        def = False
            '    End If
            'Next

            Dim newrow As DataRow = GemDSConfig.Tables("EmuSetts").NewRow
            newrow.Item("EmuSetupID") = EmuIDTB.Text
            newrow.Item("GamesID") = GameID.Text
            newrow.Item("Name") = GameUniqueNameTB.Text
            'newrow.Item("DefaultForGame") = def
            GemDSConfig.Tables("EmuSetts").Rows.Add(newrow)

            MsgBox("New Game-specific Settings Algorithm Created.", MsgBoxStyle.Information)
        End Sub

        'Private Sub EmuSettsDGV_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles EmuSettsDGV.CellClick
        '    cfdb.echo("EmuSettsDGV Cell click")
        '    Dim rowID As Integer = EmuSettsDGV.Rows(e.RowIndex).Cells("ID").Value
        '    Dim col As String = EmuSettsDGV.Columns(e.ColumnIndex).HeaderText
        '    cfdb.echo(rowID & ", " & col)
        '    If EmuSettsDGV.Columns(e.ColumnIndex).HeaderText = "DefaultForEmu" Or
        '        EmuSettsDGV.Columns(e.ColumnIndex).HeaderText = "DefaultForGame" Then
        '        Dim def As Boolean = True
        '        Dim srow() As DataRow = GemDSConfig.Tables("EmuSetts").Select("EmuSetupID = " & EmuIDTB.Text)
        '        For Each row As DataRow In srow
        '            If row.Item("ID") = rowID Then Continue For
        '            row.Item(col) = False
        '        Next

        '    End If
        'End Sub


        Private Sub PGAlgoChB_CheckedChanged(sender As Object, e As EventArgs) Handles PGAlgoChB.CheckedChanged
            If PGAlgoChB.Checked = True Then
                PGSettsAlgCB.Enabled = True
            Else
                PGSettsAlgCB.Enabled = False
            End If
        End Sub

        Private Sub UpdateMount()
            If DriveLetterTB.Text = "" Then Return
            Try
                Dim d As New DriveInfo(DriveLetterTB.Text & ":\")
                MountTB.Text = d.VolumeLabel
                VDriveLetterTB.Text = DriveLetterTB.Text
                VDriveTypeTB.Text = VirtDriveCB.SelectedValue
            Catch e As Exception
                MountTB.Text = ""
                VDriveLetterTB.Text = ""
                VDriveTypeTB.Text = ""
            End Try

        End Sub

        Private Sub TESTBT_Click(sender As Object, e As EventArgs) Handles TESTBT.Click

            Dim d As New DriveInfo("F:\")
            cfdb.echo("Drive {0}" & d.Name)
            cfdb.echo("  Drive type: {0}" & d.DriveType)
            If d.IsReady = True Then
                cfdb.echo("  Volume label: {0}" & d.VolumeLabel)
                cfdb.echo("  File system: {0}" & d.DriveFormat)
                cfdb.echo( _
                    "  Available space to current user:{0, 15} bytes" &
                    d.AvailableFreeSpace)

                cfdb.echo( _
                    "  Total available space:          {0, 15} bytes" &
                    d.TotalFreeSpace)

                cfdb.echo( _
                    "  Total size of drive:            {0, 15} bytes " &
                    d.TotalSize)
            End If



            'SysSaveBT.BackColor = Color.Green
            'For i As Integer = 0 To 255 Step 1
            '    LogoPB.BackColor = Color.FromArgb(i, i, i)
            '    Application.DoEvents()
            '    Threading.Thread.Sleep(10)
            ''Next
            'LogoFade.RunWorkerAsync(sender)

            ''With picker
            ''    .QLKeepAlwaysKey = GEmvoy.Setts.QLKeepAlwaysKey
            ''    .QLKeepOnceKey = GEmvoy.Setts.QLKeepOnceKey
            ''    .QLDelAlwaysKey = GEmvoy.Setts.QLDelAlwaysKey
            ''    .QLDelOnceKey = GEmvoy.Setts.QLDelOnceKey
            ''    .QLSelectKey = GEmvoy.Setts.QLSelectKey
            ''End With

            ''picker.ShowDialog()
            ''MsgBox(picker.Picked)

            'Dim cfMain As New MainProcess
            'InitialiseMainProc(cfMain)

            'With cfMain
            '    .RomName = "Wipeout XL.7z"
            'End With

            'cfMain.Initialise()
            'cfMain.TEST()
            'Dim hWnd As IntPtr
            'Dim Win As Process = Process.GetProcessesByName("Notepad").First
            'cfdb.echo("Win: " & Win.MainWindowTitle)
            'hWnd = CType(Win.MainWindowHandle, Integer)
            'cfdb.echo("hWnd: " & hWnd.ToString)

            'AppActivate(Win.Id)
            ''SetForegroundWindow(hWnd)

            'Threading.Thread.Sleep(2000)
            '' Dim destination As IntPtr = FindWindow("Notepad", Nothing)
            'SendMessage(hWnd, WM_KEYDOWN, &H51, IntPtr.Zero)
            'Threading.Thread.Sleep(10000)
            'SendMessage(hWnd, WM_KEYUP, &H51, IntPtr.Zero)
        End Sub

        Declare Function FindWindow Lib "user32" Alias "FindWindowA" _
               (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr
        Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
                     (ByVal hWnd As IntPtr, ByVal wMsg As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr
        Const WM_KEYDOWN As Integer = &H100
        Const WM_KEYUP As Integer = &H101
        Const VK_TAB As Integer = &H9

        'Private Shared Function FindWindow(lpClassName As String, lpWindowName As String) As IntPtr

        Private Sub LogoFader_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs)
            ' cfdb.echo("BG worker started...")

            Dim ctrl As Control = e.Argument
            Dim ctrlbg As Color = ctrl.BackColor

            'Dim r As Integer = control.BackColor.R
            'Dim g As Integer = control.BackColor.G
            'Dim b As Integer = control.BackColor.B
            'Dim fore As Color = control.ForeColor
            'Dim back As Color = control.BackColor
            'Dim delay As Integer = 1

            'cfdb.echo("R: " & r)

            'For i As Integer = 0 To 255 Step 1
            '    control.BackColor = Color.FromArgb(0, i, 0)
            '    control.ForeColor = Color.FromArgb(0, 255 - i, 0)
            '    Application.DoEvents()
            '    Threading.Thread.Sleep(delay)
            'Next
            'For i As Integer = 255 To g Step -1
            '    control.BackColor = Color.FromArgb(0, i, 0)
            '    control.ForeColor = Color.FromArgb(0, 255 - i, 0)
            '    Application.DoEvents()
            '    Threading.Thread.Sleep(delay)
            'Next
            ''For i As Integer = 0 To 100 Step 1
            ''    control.BackColor = Color.FromArgb(r * i / 100, g * i / 100, b * i / 100)
            ''    control.ForeColor = Color.FromArgb(0, 255 - (i * 255 / 100), 0)
            ''    Application.DoEvents()
            ''    Threading.Thread.Sleep(delay)
            ''Next

            'cfdb.echo("Done")
            'control.ForeColor = fore
            ' control.BackColor = back

            ctrl.BackColor = Color.Green
            Threading.Thread.Sleep(200)
            ctrl.BackColor = ctrlbg
            My.Computer.Audio.Play(My.Resources.save, AudioPlayMode.Background)

        End Sub



        Private Sub PGSettsProfAddBT_Click(sender As Object, e As EventArgs) Handles PGSettsProfAddBT.Click
            If PGSettsProfAddTB.Text = "" Then Return

            Dim newrow As DataRow = GemDSConfig.Tables("EmuSettsProfile").NewRow
            newrow.Item("GameID") = GameID.Text
            newrow.Item("Name") = PGSettsProfAddTB.Text
            newrow.Item("Notes") = ""
            GemDSConfig.Tables("EmuSettsProfile").Rows.Add(newrow)

            MsgBox("New Game Settings Profile Created.", MsgBoxStyle.Information)
            PGSettsProfAddTB.Text = ""
            Button1_Click(Nothing, Nothing) ' Save XML
        End Sub

        Private Sub EmuSettsProfsDGV_Delete(sender As Object, e As DataGridViewRowCancelEventArgs) Handles EmuSettsProfsDGV.UserDeletingRow
            If e.Row.Cells("Name").Value = "Emulator Default" Then
                cfdb.echo("User trying to delete Emu Default row - disallow")
                MsgBox("You cannot delete the Emulator Default Profile.", MsgBoxStyle.Exclamation)
                e.Cancel = True
            End If

        End Sub



        Private Sub EmuSettsProfsDGV_Enter(sender As Object, e As DataGridViewCellCancelEventArgs) Handles EmuSettsProfsDGV.CellBeginEdit
            If NotNull(EmuSettsProfsDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value, "") = "Emulator Default" Then
                e.Cancel = True
            End If
        End Sub

        Private Sub GamePGSettsDGV_Enter(sender As Object, e As DataGridViewCellCancelEventArgs) Handles GamePGSettsDGV.CellBeginEdit
            If NotNull(GamePGSettsDGV.Rows(e.RowIndex).Cells(e.ColumnIndex).Value, "") = "Emulator Default" Then
                e.Cancel = True
            End If
        End Sub


        Private Sub GamePGSettsDGV_Delete(sender As Object, e As DataGridViewRowCancelEventArgs) Handles GamePGSettsDGV.UserDeletingRow
            If e.Row.Cells("Name").Value = "Game Default" Or e.Row.Cells("Name").Value = "Emulator Default" Then
                cfdb.echo("User trying to delete a default settings profile - disallow")
                MsgBox("You cannot delete a default settings profile.", MsgBoxStyle.Exclamation)
                e.Cancel = True
            End If
        End Sub

        Private Sub DelThisTB_TextChanged(sender As Object, e As EventArgs) Handles DelThisTB.TextChanged
            'BELOW
        End Sub
        Private Sub QLDiagChange(ByVal sender As Object, ByVal e As PreviewKeyDownEventArgs) Handles DelAlwysTB.PreviewKeyDown, DelThisTB.PreviewKeyDown, KeepAlwysTB.PreviewKeyDown, KeepThisTB.PreviewKeyDown, SelTB.PreviewKeyDown

            Dim kc As New KeysConverter

            Dim KeyCode = e.KeyCode
            Dim FriendlyName As String = kc.ConvertToString(e.KeyCode)
            Dim ControlKey As Boolean = False

            'Test if shift,ctrl or alt pressed
            If e.KeyCode = Keys.Control Or e.KeyCode = Keys.Alt Or e.KeyCode = Keys.Shift Then
                cfdb.echo("Control key pressed")
                ControlKey = True
            End If

            '    cfdb.echo("MOdified keys used. Determining which one...")
            If GetKeyState(Keys.LShiftKey) < 0 Then
                KeyCode = 160
                FriendlyName = "LShiftKey"
            ElseIf GetKeyState(Keys.LControlKey) < 0 Then
                KeyCode = 162
                FriendlyName = "LControlKey"
            ElseIf GetKeyState(Keys.LWin) < 0 Then
                KeyCode = 91
                FriendlyName = "LWin"
            ElseIf GetKeyState(Keys.RControlKey) < 0 Then
                KeyCode = 163
                FriendlyName = "RControlKey"
            ElseIf GetKeyState(Keys.RShiftKey) < 0 Then
                KeyCode = 161
                FriendlyName = "RShiftKey"
            ElseIf GetKeyState(Keys.RWin) < 0 Then
                KeyCode = 92
                FriendlyName = "RWin"
            ElseIf GetKeyState(Keys.LMenu) < 0 Then
                KeyCode = 164
                FriendlyName = "LMenu"
            ElseIf GetKeyState(Keys.RMenu) < 0 Then
                KeyCode = 165
                FriendlyName = "RMenu"
            End If
            'End If
            ' MsgBox("KeyName: " & FriendlyName & vbCr & "KeyCode: " & KeyCode, MsgBoxStyle.Information)

            sender.text = FriendlyName
            sender.tag = KeyCode

            Select Case sender.name
                'KeepAlwysTB.PreviewKeyDown, KeepThisTB.PreviewKeyDown, DelAlwysTB.PreviewKeyDown, DelThisTB.PreviewKeyDown, SelTB.PreviewKeyDown
                Case "KeepAlwysTB"
                    GEmvoy.Setts.QLKeepAlwaysKey = KeyCode
                Case "KeepThisTB"
                    GEmvoy.Setts.QLKeepOnceKey = KeyCode
                Case "DelAlwysTB"
                    GEmvoy.Setts.QLDelAlwaysKey = KeyCode
                Case "DelThisTB"
                    GEmvoy.Setts.QLDelOnceKey = KeyCode
                Case "SelTB"
                    GEmvoy.Setts.QLSelectKey = KeyCode
            End Select

        End Sub

        Private Function KeyCodeToName(KeyCode As Integer) As String
            Dim kc As New KeysConverter

            Dim FriendlyName As String = kc.ConvertToString(KeyCode)

            '    cfdb.echo("MOdified keys used. Determining which one...")
            If KeyCode = 160 Then

                FriendlyName = "LShiftKey"
            ElseIf KeyCode = 162 Then

                FriendlyName = "LControlKey"
            ElseIf KeyCode = 91 Then

                FriendlyName = "LWin"
            ElseIf KeyCode = 163 Then

                FriendlyName = "RControlKey"
            ElseIf KeyCode = 161 Then

                FriendlyName = "RShiftKey"
            ElseIf KeyCode = 92 Then

                FriendlyName = "RWin"
            ElseIf KeyCode = 164 Then

                FriendlyName = "LMenu"
            ElseIf KeyCode = 165 Then

                FriendlyName = "RMenu"
            End If

            Return FriendlyName
        End Function


        Private Sub LoadSettsBT_Click(sender As Object, e As EventArgs) Handles LoadSettsBT.Click

            Dim cfMain As New MainProcess
            InitialiseMainProc(cfMain)

            EmuSave_Click(Nothing, Nothing)

            While LogoFade.IsBusy
                Application.DoEvents()
            End While

            GamesSave_Click(Nothing, Nothing)

            cfMain.LoadSettings(NotNull(CInt(SysIDTB.Text), -1), NotNull(CInt(EmuIDTB.Text), -1),
                                NotNull(CInt(GameID.Text), -1), False, True)

            '  My.Computer.Audio.Play(My.Resources.loadprofile, AudioPlayMode.Background)
        End Sub



        Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click

            Dim cfMain As New MainProcess
            InitialiseMainProc(cfMain)

            EmuSave_Click(Nothing, Nothing)

            While LogoFade.IsBusy
                Application.DoEvents()
            End While

            GamesSave_Click(Nothing, Nothing)

            cfMain.SaveSettings(NotNull(CInt(SysIDTB.Text), -1), NotNull(CInt(EmuIDTB.Text), -1),
                                NotNull(CInt(GameID.Text), -1), False, True)
            ' My.Computer.Audio.Play(My.Resources.saved, AudioPlayMode.Background)
        End Sub

        Private Sub PGSettsProfCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles PGSettsProfCB.SelectedIndexChanged
            DDTest.Text = PGSettsProfCB.SelectedValue
        End Sub

        Private Sub FullBootBT_Click(sender As Object, e As EventArgs) Handles SetupBootBT.Click, FullBootBT.Click

            If SysUseGVChB.Checked = False Then
                MsgBox("GEmvoy not enabled for this System. Enable in the Systems tab...", MsgBoxStyle.Exclamation, "Lanch Error")
                Return
            End If

            If GameID.Text = "-1" Or EmuIDTB.Text = "-1" Then
                MsgBox("There is either no Game or no Emulator selected. Please revise...", MsgBoxStyle.Exclamation)
                Return
            End If


            If BootCycleComplete = False Then
                cfdb.echo("There is already an boot waiting to finish - can't run again...")
                MsgBox("There is another game/emu instance waiting to finish. CLose this first, then you can boot another.", MsgBoxStyle.Information, "GEmvoy - another instance running")
                Return
            End If

            Dim origwinstate As FormWindowState = Me.WindowState
            If My.Settings.ConfigMin = True Then
                Me.WindowState = FormWindowState.Minimized
                ' MinimisePluginManager()
                If cfdb.Visible = True Then
                    cfdb.WindowState = FormWindowState.Minimized
                End If
            End If

            'stop webcam if running in config:
            If WCPrev.IsCapturing Then WCStop_Click(Nothing, Nothing)
            GEmvoy.GECamEnabled = True  ' hack to enable snpas in config mode

            Dim cfMain As New MainProcess
            InitialiseMainProc(cfMain)

            'GameRunFromConfig(GEEmuID As Integer, RomName As String, ds As DataSet, db As DebugConsole, log As DracLabs.Logger, boot As Boolean)
            With cfMain
                cfMain.GEEmuID = GEIDTB.Text
                cfMain.SkipMount = SkipMount.Checked
                cfMain.RomName = Path.GetFileName(GameRomFileTB.Text)
                cfMain.LeaveMounted = LeaveImgChB.Checked
                cfMain.DebugConsole = cfdb
                .UseDefaultGame = BootDefaultRB.Checked
                .PassGameID = GameID.Text
                .UseSpecificEmu = False
                .SpecdEmuSetupID = -1
            End With

            If sender.name = "SetupBootBT" And SetupBootTB.Text <> "" Then
                cfMain.FullBoot = False
            Else
                cfMain.FullBoot = True
            End If

            cfMain.Initialise()

            cfMain.ProcessInput()

            cfdb.echo("Returned cmd: " & cfMain.CmdLine) ' exe + params
            cfdb.echo("Returned cmdExe: " & cfMain.CmdExe)

            If cfMain.CmdLine <> "" Then
                cflog.echo("Booting Emu + Game.")

                Dim SApp As New ProcessStartInfo
                With SApp
                    .FileName = cfMain.CmdExe
                    .WorkingDirectory = Path.GetDirectoryName(cfMain.CmdExe)
                    .Arguments = cfMain.CmdParams
                    .WindowStyle = ProcessWindowStyle.Normal
                End With

                EmuRun.RunWorkerAsync(SApp)
                BootCycleComplete = False
                While EmuRun.IsBusy
                    Windows.Forms.Application.DoEvents()
                End While
            Else
                cflog.echo("Null cmd line returned from Main Process - likely error in boot or GEmvoy not used for this system.")
            End If

            If cfMain.SkipClose = False Then
                cfdb.echo("Returned form config launch - closing down game...")
                cfMain.AfterGameQuit()
            Else
                cfdb.echo("Returned form config launch and skipclose set to true (must be gemvoy not enabled for this system).")
            End If

            'If db.WindowState = FormWindowState.Minimized Then
            '    db.WindowState = FormWindowState.Normal
            'End If
            'cfMain.AfterGameQuit()

            BootCycleComplete = True

            If My.Settings.ConfigMin = True Then
                If cfdb.Visible = True Then
                    cfdb.WindowState = FormWindowState.Normal
                End If
                'RestorePluginManager()
                Me.WindowState = origwinstate
                Me.BringToFront()
            End If

            UpdateMount()
            GameSelCB_SelectedIndexChanged(Nothing, Nothing)

        End Sub

        Private Sub EmuRunWait(ByVal sender As Object, ByVal e As DoWorkEventArgs)
            cfdb.echo("Starting Emu background worker")

            Dim SApp As ProcessStartInfo = DirectCast(e.Argument, ProcessStartInfo)

            Dim DoSApp As Process = Process.Start(SApp)
            DoSApp.WaitForExit()

        End Sub

        Private Sub ProcMsgFontBT_Click(sender As Object, e As EventArgs) Handles ProcMsgFontBT.Click
            With FD1
                .Font = GEmvoy.Setts.MsgFont
            End With

            If FD1.ShowDialog = Windows.Forms.DialogResult.OK Then
                'Me.Font = FD1.Font
                GEmvoy.Setts.MsgFont = FD1.Font
                PromptEgTB.Font = FD1.Font
            End If
        End Sub

        Private Sub PromptFGColBT_Click(sender As Object, e As EventArgs) Handles PromptFGColBT.Click
            With ColorDialog1
                .Color = GEmvoy.Setts.MsgFGCol
                .AnyColor = True
                .FullOpen = True
            End With

            If ColorDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
                GEmvoy.Setts.MsgFGCol = ColorDialog1.Color
                PromptEgTB.ForeColor = ColorDialog1.Color
            End If

        End Sub

        Private Sub PromptBGColBT_Click(sender As Object, e As EventArgs) Handles PromptBGColBT.Click

            With ColorDialog1
                .Color = GEmvoy.Setts.MsgBGCol
                .AnyColor = True
                .FullOpen = True
            End With

            If ColorDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
                GEmvoy.Setts.MsgBGCol = ColorDialog1.Color
                PromptEgTB.BackColor = ColorDialog1.Color
            End If

        End Sub

        Private Sub PictureBox1_Click(sender As Object, e As EventArgs) Handles LogoPB2.Click
            With ofd1
                .Title = "Please select the Logo for the User Prompt"
                .Filter = "PNG|*.png|JPG|*.jpg"
                Try
                    .InitialDirectory = Path.GetDirectoryName(GEmvoy.Setts.MsgImg)
                    .FileName = Path.GetFileName(GEmvoy.Setts.MsgImg)
                Catch
                    .InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)
                End Try

            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                GEmvoy.Setts.MsgImg = ofd1.FileName
                LogoPB2.Image = Image.FromFile(ofd1.FileName)
            End If
        End Sub


        Private Sub MsgDefaultBT_Click(sender As Object, e As EventArgs) Handles MsgDefaultBT.Click
            GEmvoy.Setts.MsgImg = ""
            LogoPB2.Image = My.Resources.FootLogo
        End Sub

        Private Sub DelQLChB_CheckedChanged(sender As Object, e As EventArgs) Handles DelQLChB.CheckedChanged
            If DelQLChB.Checked = True Then
                GEmvoy.Setts.DeleteQuicklaunch = True
            Else
                GEmvoy.Setts.DeleteQuicklaunch = False
            End If
        End Sub

        Private Sub EmuDelChB_CheckedChanged(sender As Object, e As EventArgs) Handles EmuDelChB.CheckedChanged
            If EmuDelChB.Checked = True Then
                GEmvoy.Setts.AllowEmuDelete = True
                EmuDelBT.Enabled = True
            Else
                GEmvoy.Setts.AllowEmuDelete = False
                EmuDelBT.Enabled = False
            End If
        End Sub

        Private Sub TabControl1_SelectedIndexChanged(sender As Object, e As TabControlEventArgs) Handles TabControl1.Selected
            cfdb.echo("Tab changed: " & e.TabPage.Name)
            If e.TabPage.Name = "EmuSettsTab" Then
                cfdb.echo("here")
                EmuSettsTypeCB.SelectedIndex = 0
                EmuSettsTypeCB_SelectedIndexChanged(Nothing, Nothing)
            End If
        End Sub

        Private Sub DataGridView1_DataError(ByVal sender As Object, _
                ByVal e As DataGridViewDataErrorEventArgs) _
                Handles EmuSettsDGV.DataError, EmuSettsItemsDGV.DataError

            cfdb.echo("Data error: " & e.Exception.Message)
            cfdb.echo("Data error: " & e.Exception.StackTrace)


        End Sub



        Private Sub ShowTicker_CheckedChanged(sender As Object, e As EventArgs) Handles ShowTicker.CheckedChanged
            If ShowTicker.Checked = True Then
                GEmvoy.Setts.MsgTicker = True
            Else
                GEmvoy.Setts.MsgTicker = False
            End If
        End Sub

        Private Sub EmuLoadSettsBT_Click(sender As Object, e As EventArgs) Handles EmuLoadSettsBT.Click
            Dim cfMain As New MainProcess
            InitialiseMainProc(cfMain)
            'save setup first
            EmuSave_Click(Nothing, Nothing)
            cfMain.LoadSettings(NotNull(CInt(SysIDTB.Text), -1), NotNull(CInt(EmuIDTB.Text), -1),
                                NotNull(CInt(GameID.Text), -1), True)
            '  My.Computer.Audio.Play(My.Resources.loadprofile, AudioPlayMode.Background)
        End Sub


        Private Sub EmuSaveEmuSettsBT_Click(sender As Object, e As EventArgs) Handles EmuSaveEmuSettsBT.Click
            Dim cfMain As New MainProcess
            InitialiseMainProc(cfMain)
            'save setup first
            EmuSave_Click(Nothing, Nothing)
            cfMain.SaveSettings(NotNull(CInt(SysIDTB.Text), -1), NotNull(CInt(EmuIDTB.Text), -1),
                                NotNull(CInt(GameID.Text), -1), True)

            ' My.Computer.Audio.Play(My.Resources.saved, AudioPlayMode.Background)
        End Sub

        Private Sub ToggleTokens_Click(sender As Object, e As EventArgs) Handles ToggleTokens.Click
            If MainPanelSplit.Panel2Collapsed = True Then
                MainPanelSplit.Panel2Collapsed = False
            Else
                MainPanelSplit.Panel2Collapsed = True
            End If
        End Sub


        Private Sub EmuBootEmu_Click(sender As Object, e As EventArgs) 
            'EmuExeTB
            Dim SApp As New ProcessStartInfo
            With SApp
                .FileName = EmuExeTB.Text
                .WorkingDirectory = Path.GetDirectoryName(EmuExeTB.Text)
                ' .Arguments = finalparam
                '.WindowStyle = ReturnWindowStyle(approw("AppVisibility"))
            End With
            Process.Start(SApp)

        End Sub

        Private Sub MsgDemo_Click(sender As Object, e As EventArgs) Handles MsgDemo.Click
            Dim Demo As New ProcMessage
            Demo.ResizeHandle = True
            Demo.Show()
            Demo.ChangeMsg("Align/Size the Message Window.", 1)
            Demo.ChangeMsg("RClick Logo to Close.", 2)
        End Sub

        Private Sub EmuConfigAppsDGV_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles EmuConfigAppsDGV.CellContentClick
            If EmuConfigAppsDGV.Columns(e.ColumnIndex).HeaderText = "Launch" Then

                If EmuConfigAppsDGV.Rows(e.RowIndex).IsNewRow Then
                    Return
                End If
                Dim SAppRow() As DataRow = GemDSConfig.Tables("SupportApps").Select("ID = " & EmuConfigAppsDGV.Rows(e.RowIndex).Cells("SupportAppID").Value)
                If SAppRow.Count < 1 Then Return
                Dim SApp As New ProcessStartInfo
                With SApp
                    .FileName = SAppRow(0)("Exe")
                    .Arguments = NotNull(EmuConfigAppsDGV.Rows(e.RowIndex).Cells("Parameters").Value, "")
                    '.WindowStyle = ReturnWindowStyle(approw("AppVisibility"))
                End With
                Process.Start(SApp)
            End If
        End Sub


        Private Sub ExportSetts_Click(sender As Object, e As EventArgs) Handles ExportSetts.Click

            Dim expfile As String = Nothing

            Dim selSettsAlg As Integer = EmuSettsDGV.CurrentRow.Index

            With SFD1
                .Title = "Save the Emulator Settings Algorithm file as...."
                .Filter = "CFG|*.cfg"
                .FileName = EmuSettsDGV.Rows(selSettsAlg).Cells("Name").Value & ".cfg"
                .OverwritePrompt = True
                .ValidateNames = True
                .InitialDirectory = Path.GetDirectoryName(GEmvoy.GameExPath & "\PLUGINS\GEmvoy\SettingsAlgorithms\")
            End With
            If SFD1.ShowDialog = Windows.Forms.DialogResult.OK Then
                expfile = SFD1.FileName
            End If

            If expfile = Nothing Then Return

            If File.Exists(expfile) Then
                cfdb.echo("settings export file already exists - deleting")
                File.Delete(expfile)
            End If

            Using sw As StreamWriter = New StreamWriter(expfile)
                For Each row As DataGridViewRow In EmuSettsItemsDGV.Rows
                    If row.IsNewRow = True Then Continue For
                    cfdb.echo(NotNull(row.Cells("Type").Value.ToString, "") & "|" &
                                     NotNull(row.Cells("Name").Value, "") & "|" &
                                     NotNull(row.Cells("ItemText").Value, "") & "|" &
                                     NotNull(row.Cells("Info").Value, ""))
                    sw.WriteLine(NotNull(row.Cells("Type").Value.ToString, "") & "|" &
                                     NotNull(row.Cells("Name").Value, "") & "|" &
                                     NotNull(row.Cells("ItemText").Value, "") & "|" &
                                     NotNull(row.Cells("Info").Value, ""))

                Next
            End Using

        End Sub

        Private Sub EnableAdv_CheckedChanged(sender As Object, e As EventArgs) Handles EnableAdv.CheckedChanged
            If EnableAdv.Checked = True Then
                My.Settings.AdvAlgos = True
                AlgSettsEdit.Enabled = True
                EmuSettsItemsDGV.Enabled = True
            Else
                My.Settings.AdvAlgos = False
                AlgSettsEdit.Enabled = False
                EmuSettsItemsDGV.Enabled = False
            End If
        End Sub


        Private Sub ImportSetts_Click(sender As Object, e As EventArgs) Handles ImportSetts.Click

            cfdb.echo("---- IMPORTING SETTINGS ALGORTHM -----")

            'Checks profile selected:

            Dim selectedRowCount As Integer = _
                 EmuSettsDGV.Rows.GetRowCount(DataGridViewElementStates.Selected)
            If selectedRowCount < 1 Then
                MsgBox("No Emu Settings Algorithm selected. Please select by clicking the row header.", MsgBoxStyle.Exclamation)
                Return
            End If

            Dim impfile As String = Nothing
            With ofd1
                .Title = "Please select the Emulator Settings Algorithm file to import to currently selected setup."
                .Filter = "CFG|*.cfg"
                .InitialDirectory = Path.GetDirectoryName(GEmvoy.GameExPath & "\PLUGINS\GEmvoy\SettingsAlgorithms\")
            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                impfile = ofd1.FileName
            Else
                Return
            End If

            Dim EmuSettsID As Integer = EmuSettsDGV.SelectedRows(0).Cells("ID").Value
            cfdb.echo("Chosen Emu Setup: " & EmuSettsID &
                                    ". " & EmuSettsDGV.SelectedRows(0).Cells("Name").Value)

            'Confirm deletion
            If GemDSConfig.Tables("EmuSettsItems").Select("EmuSettsID = " & EmuSettsID).Count > 0 Then
                If MsgBox("Are you sure you want to overwrite any existing items for " & EmuSettsID &
                                        ". " & EmuSettsDGV.SelectedRows(0).Cells("Name").Value & "?", MsgBoxStyle.YesNo, "Overwrite Emu Settings Algorithm?...") = MsgBoxResult.No Then Return
            End If

            'Delete existing for Algo in EmuSettsItems
            For i As Integer = GemDSConfig.Tables("EmuSettsItems").Rows.Count - 1 To 0 Step -1
                If GemDSConfig.Tables("EmuSettsItems").Rows(i).Item("EmuSettsID") = EmuSettsID Then
                    GemDSConfig.Tables("EmuSettsItems").Rows.Remove(GemDSConfig.Tables("EmuSettsItems").Rows(i))
                End If
            Next

            'Write new values to EmuSettsItems
            cfdb.echo("------------------------")
            Dim newrow As DataRow

            Using MyReader As New Microsoft.VisualBasic.FileIO.TextFieldParser(impfile)
                MyReader.TextFieldType = FileIO.FieldType.Delimited
                MyReader.SetDelimiters("|")
                Dim currentRow As String()
                While Not MyReader.EndOfData
                    Try
                        currentRow = MyReader.ReadFields()
                        cfdb.echo("Type: " & currentRow(0))
                        cfdb.echo("Name: " & currentRow(1))
                        cfdb.echo("ItemText: " & currentRow(2))
                        cfdb.echo("Info: " & currentRow(3))
                        cfdb.echo("------------------------")

                        newrow = GemDSConfig.Tables("EmuSettsItems").NewRow
                        newrow.Item("Name") = currentRow(1)
                        newrow.Item("EmuSettsID") = EmuSettsID
                        newrow.Item("ItemText") = currentRow(2)
                        newrow.Item("Type") = currentRow(0)
                        newrow.Item("BackupOnly") = False
                        newrow.Item("Info") = currentRow(3)
                        GemDSConfig.Tables("EmuSettsItems").Rows.Add(newrow)

                    Catch ex As Microsoft.VisualBasic.FileIO.MalformedLineException
                        cfdb.echo("Line " & ex.Message &
                        "is not valid and will be skipped.")
                    End Try
                End While
            End Using





        End Sub

        Private Sub GEEmuCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles GEEmuCB.SelectedIndexChanged
            Dim sysrow() As DataRow = GemDSConfig.Tables("UserEmulators").Select("ID='" & sender.selectedvalue & "'")

            'GameExInfo:

            TmpGEEmuID.Text = sysrow(0).Item("ID")
            StartPNTB.Text = sysrow(0).Item("StartPageName")
            TitleTTB.Text = sysrow(0).Item("TitleText")
            DatabaseTB.Text = sysrow(0).Item("Database")
            RomPathTB.Text = sysrow(0).Item("RomPath")
            SnapPathTB.Text = sysrow(0).Item("SnapPath")
            TitlePathTB.Text = sysrow(0).Item("TitlePath")
            GEIDTB.Text = sysrow(0).Item("UserEmuGEID")
            EnableCB.Checked = sysrow(0).Item("Enabled")

            AutoSysNameBT_Click(Nothing, Nothing)

        End Sub

        Private Sub SysClearBT_Click(sender As Object, e As EventArgs) Handles SysClearBT.Click

            If SysChanges = True Then
                If MsgBox("There are unsaved changes (in red). Are you sure you want to Clear the System setup for a new setup?", MsgBoxStyle.YesNo, "Unsaved Changes...") = MsgBoxResult.No Then
                    SysSetupSelCB.SelectedValue = SysIDTB.Text
                    Return
                End If

            End If

            SysIDTB.Text = "-1"
            SysSetupNameTB.Text = ""
            ' cfdb.echo("HERE: " & sysrow(0).Item("SystemID"))
            SysCB.SelectedIndex = -1
            'EMULATOR SETUP CB
            EmuSetupCB.SelectedIndex = -1
            ROMSFolderTB.Text = ""

            QuicklaunchTB.Text = ""
            QLaunchPromptCB.Text = "Ask"
            UseQLaunchChB.Checked = False
            SysUseGVChB.Checked = False
            GEEmuCB.SelectedIndex = 0

            GEIDTB.Text = "-1"

            SAppsDV.RowFilter = "SysSetupID = -1"
            GameSelDV.RowFilter = "SysSetupID = -1"
            '  FiltEmusDV.RowFilter = "SystemID = " & SysCB.SelectedValue


        End Sub

        Private Sub SysNewBT_Click(sender As Object, e As EventArgs) Handles SysNewBT.Click

            'Validate:
            'NULLS:
            If SysCB.SelectedIndex = -1 Or
                EmuSetupCB.SelectedIndex = -1 Or
                 QLaunchPromptCB.SelectedIndex = -1 Or
                SysSetupNameTB.Text = "" Or
                 ROMSFolderTB.Text = "" Then
                MsgBox("Please check entries. Some required fields are null or empty..", MsgBoxStyle.Exclamation)
                Return
            End If
            'Check dupe GExEmu
            For Each checkrow As DataRow In GemDSConfig.Tables("SystemsSetups").Rows
                cfdb.echo("GEIDTB,  UserEmuID: " & CInt(TmpGEEmuID.Text) & ", " & CInt(checkrow("UserEmuID")))
                If CInt(TmpGEEmuID.Text) = CInt(checkrow("UserEmuID")) Then
                    MsgBox("There is already a System Setup for this GameEx Emulator, so cannot add a new one for it. Edit this System Setup instead:" & vbCr & vbCr & checkrow("Name"), MsgBoxStyle.Exclamation)
                    Return
                End If
            Next

            Dim sysrow As DataRow = GemDSConfig.Tables("SystemsSetups").NewRow

            sysrow("Name") = NotNull(SysSetupNameTB.Text, "")
            sysrow.Item("SystemID") = NotNull(SysCB.SelectedValue, 0)
            sysrow.Item("DefEmuSetupID") = EmuSetupCB.SelectedValue
            sysrow("RomsFolder") = NotNull(ROMSFolderTB.Text, "")
            sysrow("QuicklaunchRoot") = NotNull(QuicklaunchTB.Text, "")
            sysrow("QuicklaunchPrompt") = NotNull(QLaunchPromptCB.Text, "Ask")
            sysrow("UseQuicklaunch") = NotNull(UseQLaunchChB.Checked, False)
            sysrow("UseGEmvoy") = NotNull(SysUseGVChB.Checked, False)
            sysrow("UserEmuID") = NotNull(GEEmuCB.SelectedValue, 0)

            GemDSConfig.Tables("SystemsSetups").Rows.Add(sysrow)

            cfdb.echo("Saved New...", False, "Save system")

            ClearEditIndicators()

            SysSetupSelCB.Text = SysSetupNameTB.Text
            SysSetupSelCB_SelectedIndexChanged(Nothing, Nothing)

            If Not (LogoFade.IsBusy) Then
                LogoFade.RunWorkerAsync(sender)
            End If
        End Sub

        Private Sub SysDeleteBT_Click(sender As Object, e As EventArgs) Handles SysDeleteBT.Click

            If SysSetupSelCB.Items.Count = 1 Then
                MsgBox("Only one System setup left, therefore cannot delete. Just edit this record instead.")
                Return
            End If

            Dim DispRow As Integer = Convert.ToInt32(SysIDTB.Text)
            Dim nrow() As DataRow = GemDSConfig.Tables("SystemsSetups").Select("ID = '" & DispRow & "'")

            If MsgBox("Are you sure you want to delete the System Setup below?" & vbCr & vbCr & nrow(0)("Name"), MsgBoxStyle.YesNo, "Delete System Setup?...") = MsgBoxResult.No Then Return

            GemDSConfig.Tables("SystemsSetups").Rows.Remove(nrow(0))

            SysSetupSelCB.SelectedIndex = 0
            SysSetupSelCB_SelectedIndexChanged(Nothing, Nothing)
            Button1_Click(Nothing, Nothing) ' Save XML
        End Sub

        Private Sub SysSetupDelChB_CheckedChanged(sender As Object, e As EventArgs) Handles SysSetupDelChB.CheckedChanged
            ' AllowSysDel

            If SysSetupDelChB.Checked = True Then
                My.Settings.AllowSysDel = True
                SysDeleteBT.Enabled = True
            Else
                My.Settings.AllowSysDel = False
                SysDeleteBT.Enabled = False
            End If

        End Sub

        Private Sub GameEmuSetupCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles GameEmuSetupCB.SelectedIndexChanged
            'EmuSettsProfCB.SelectedIndex = EmuSettsProfCB.FindStringExact("Emulator Default")
            EmuSelCB.SelectedIndex = EmuSelCB.FindStringExact(GameEmuSetupCB.Text)
            EmuHeaderTB.Text = GameEmuSetupCB.Text
        End Sub

        Private Function CheckEmuSave() As String
            If EmuListnameCB.Text = "" Then Return "You must choose a value from the Emulator Name dropdown"
            If EmuSysCB.Text = "" Then Return "You must choose a value from the System Name dropdown"
            If EmuExeTB.Text = "" Then Return "There is no Emulator Executable file chosen."

            If MountImgChB.Checked = True Then
                If DriveLetterTB.Text = "" Then Return "Mount Image selected, but no Drive Letter specified. Please complete."
                If VirtDriveCB.Text = "" Then Return "Mount Image selected, but no Virtual Drive selected. Please select."
                If DriveTypeCB.Text = "" Then Return "Mount Image selected, but no Drive Type specified. Please complete."
            End If

            Return "Valid"
        End Function



        Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click

            'ThemeLoaded = True

            Dim allControls As List(Of Control) = New List(Of Control)
            For Each ctr As Control In Me.Controls
                allControls = getAllControls(ctr, allControls)
            Next

            Dim rndcol As Color = RandomRGBColor()

            For Each ctl As Control In allControls

                If TypeOf ctl Is DataGridView Then
                    DirectCast(ctl, DataGridView).ForeColor = My.Settings.ColDatagridText
                    DirectCast(ctl, DataGridView).BackgroundColor = My.Settings.ColFormBG
                    DirectCast(ctl, DataGridView).GridColor = My.Settings.ColDatagidBG
                    DirectCast(ctl, DataGridView).DefaultCellStyle.BackColor = My.Settings.ColDatagidBG

                    DirectCast(ctl, DataGridView).ColumnHeadersDefaultCellStyle.BackColor = My.Settings.ColDatagridHeaders
                    DirectCast(ctl, DataGridView).ColumnHeadersDefaultCellStyle.ForeColor = My.Settings.ColFormText
                    DirectCast(ctl, DataGridView).RowHeadersDefaultCellStyle.BackColor = My.Settings.ColDatagridHeaders
                    DirectCast(ctl, DataGridView).RowHeadersDefaultCellStyle.ForeColor = My.Settings.ColFormText

                ElseIf TypeOf ctl Is TextBox Then
                    If ctl.Name = "PromptEgTB" Then Continue For
                    If ctl.Name = "EmuHeaderTB" Then
                        DirectCast(ctl, TextBox).BackColor = My.Settings.ColReadOnlyBG
                        DirectCast(ctl, TextBox).ForeColor = My.Settings.ColFreeText
                        Continue For
                    End If
                    DirectCast(ctl, TextBox).BackColor = My.Settings.ColTextboxBG
                    DirectCast(ctl, TextBox).ForeColor = My.Settings.ColFreeText
                    If DirectCast(ctl, TextBox).ReadOnly = True Then
                        DirectCast(ctl, TextBox).BackColor = My.Settings.ColReadOnlyBG
                        DirectCast(ctl, TextBox).ForeColor = My.Settings.ColReadOnlyText
                    End If
                    '   DirectCast(ctl, TextBox). = Color.White

                ElseIf TypeOf ctl Is Button Then
                    'If ctl.Parent.Name = "TopPN" Then
                    '    'DirectCast(ctl, Button).BackColor = Color.Transparent
                    '    'DirectCast(ctl, Button).ForeColor = Color.Black
                    'Else
                    '    DirectCast(ctl, Button).BackColor = My.Settings.ColButtonsBG
                    DirectCast(ctl, Button).ForeColor = Color.Black
                    'End If
                    ' DirectCast(ctl, Button).colo = Color.White

                ElseIf TypeOf ctl Is ComboBox Then
                    If DirectCast(ctl, ComboBox).Enabled = False Then
                        DirectCast(ctl, ComboBox).BackColor = My.Settings.ColReadOnlyBG
                        DirectCast(ctl, ComboBox).ForeColor = My.Settings.ColReadOnlyText
                    Else
                        DirectCast(ctl, ComboBox).BackColor = My.Settings.ColDropdownBG
                        DirectCast(ctl, ComboBox).ForeColor = My.Settings.ColDropdownText
                    End If

                    ' DirectCast(ctl, ComboBox).SelectedText. = Color.White

                ElseIf TypeOf ctl Is TabPage Then
                    DirectCast(ctl, TabPage).BackColor = My.Settings.ColFormBG
                    DirectCast(ctl, TabPage).ForeColor = My.Settings.ColFormText

                ElseIf TypeOf ctl Is Panel Then
                    If DirectCast(ctl, Panel).Name = "TopPN" Then
                        DirectCast(ctl, Panel).BackColor = My.Settings.ColTopPanelBG
                        DirectCast(ctl, Panel).ForeColor = My.Settings.ColFormText
                    Else
                        DirectCast(ctl, Panel).BackColor = My.Settings.ColFormBG
                        DirectCast(ctl, Panel).ForeColor = My.Settings.ColFormText
                    End If

                ElseIf TypeOf ctl Is TreeView Then
                    DirectCast(ctl, TreeView).BackColor = My.Settings.ColFormBG
                    DirectCast(ctl, TreeView).ForeColor = My.Settings.ColFormText

                ElseIf TypeOf ctl Is ListView Then
                    DirectCast(ctl, ListView).BackColor = My.Settings.ColFormBG
                    DirectCast(ctl, ListView).ForeColor = My.Settings.ColFormText

                ElseIf TypeOf ctl Is GroupBox Then
                    If DirectCast(ctl, GroupBox).Name = "GroupBox35" Then
                        DirectCast(ctl, GroupBox).ForeColor = My.Settings.ColFormText
                    Else
                        DirectCast(ctl, GroupBox).ForeColor = My.Settings.ColButtonsBG 'read only misnomer - modified to be headings
                    End If

                ElseIf TypeOf ctl Is CheckBox Then
                    DirectCast(ctl, CheckBox).ForeColor = My.Settings.ColFormText

                ElseIf TypeOf ctl Is RadioButton Then
                    DirectCast(ctl, RadioButton).ForeColor = My.Settings.ColFormText

                ElseIf TypeOf ctl Is Label Then
                    DirectCast(ctl, Label).ForeColor = My.Settings.ColFormText
                    'If DirectCast(ctl, Label).Tag = "ReadOnly" Then
                    '    DirectCast(ctl, Label).ForeColor = Color.LightGreen
                    'End If


                End If
            Next

            setupGroupBoxes()
            ' ThemeLoaded = True


        End Sub

        Private Function getAllControls(mainControl As Control, allControls As List(Of Control)) As List(Of Control)

            If (Not allControls.Contains(mainControl)) Then allControls.Add(mainControl)
            If mainControl.HasChildren Then
                For Each child As Object In mainControl.Controls
                    If (Not allControls.Contains(DirectCast(child, Control))) Then allControls.Add(DirectCast(child, Control))
                    If DirectCast(child, Control).HasChildren Then getAllControls(DirectCast(child, Control), allControls)
                Next
            End If

            Return allControls

        End Function

        Public Function RandomRGBColor() As Color
            Dim m_Rnd As New Random
            Return Color.FromArgb(&HFF000000 Or m_Rnd.Next(&HFFFFFF + 1))
        End Function



        Private Sub RefreshMountBT_Click(sender As Object, e As EventArgs) Handles RefreshMountBT.Click
            UpdateMount()
        End Sub

        Private Sub OpenQL_Click(sender As Object, e As EventArgs) Handles OpenQL.Click
            If Directory.Exists(QuicklaunchTB.Text) Then
                Process.Start(QuicklaunchTB.Text)
            Else
                MsgBox("Either no Quicklaunch Folder set or Folder doesn't exist", MsgBoxStyle.Information)
            End If
        End Sub

        Private Sub UnmountBT_Click(sender As Object, e As EventArgs) Handles UnmountBT.Click

            If VDriveTypeTB.Text = "" Or VDriveLetterTB.Text = "" Then
                MsgBox("Error manually unmounting Disc image. Either none mounted or not do-able. Please do this from the relevant application.", MsgBoxStyle.Exclamation)
                Return
            End If

            Dim vdrow() As DataRow = GemDSConfig.Tables("VirtualDrives").Select("ID=" & VDriveTypeTB.Text)

            Dim VDrive As DataRow = vdrow(0)

            'UNMOUNT
            Dim UnMount As New ProcessStartInfo
            With UnMount
                .FileName = VDrive("Exe")
                .Arguments = Replace(VDrive("UnmountCmd"), "[VDRIVELTR]", VDriveLetterTB.Text)
                .WindowStyle = ProcessWindowStyle.Hidden
                .WorkingDirectory = Path.GetDirectoryName(VDrive("Exe"))
            End With
            ' Process.Start(Uecm)`
            Dim DoUnMount As Process = Process.Start(UnMount)
            If Not DoUnMount.WaitForExit(120000) Then
                MsgBox("Unmount took too long...")
            Else

            End If

            MountTB.Text = ""
            VDriveLetterTB.Text = ""
            VDriveTypeTB.Text = ""
            'UpdateMount()

        End Sub

        Private Sub BootEmuBT_Click(sender As Object, e As EventArgs) Handles BootEmuBT.Click
            If BootCycleComplete = False Then
                MsgBox("There is already an instance of thie emulator runnning. Please close down this instance before starting another.", MsgBoxStyle.Exclamation)
                Return
            End If

            If File.Exists(EmuExeTB.Text) Then

                'stop webcam if running in config:
                If WCPrev.IsCapturing Then WCStop_Click(Nothing, Nothing)


                cflog.echo("Booting Emu.")
                Dim SApp As New ProcessStartInfo
                With SApp
                    .FileName = EmuExeTB.Text
                    .WorkingDirectory = Path.GetDirectoryName(EmuExeTB.Text)
                    .WindowStyle = ProcessWindowStyle.Normal
                End With

                EmuRun.RunWorkerAsync(SApp)
                BootCycleComplete = False
                While EmuRun.IsBusy
                    Windows.Forms.Application.DoEvents()
                End While

                BootCycleComplete = True
            Else
                MsgBox("Emulator exe either not set or doesn't exist. PLease check.", MsgBoxStyle.Exclamation)
                Return

            End If



        End Sub


        'Private Sub SaveEmuToEmuChB_Click(sender As Object, e As EventArgs) 
        '    If SaveEmuToEmuChB.Checked = True Then
        '        SaveEmuToEmuChB.Checked = False
        '        SaveEmuToGameChB.Checked = True
        '    Else
        '        SaveEmuToEmuChB.Checked = True
        '        SaveEmuToGameChB.Checked = False
        '    End If
        'End Sub

        'Public blnClose As Boolean = True

        'Private Sub MoveUpToolStripMenuItem_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) 
        '    blnClose = False
        'End Sub
        'Private Sub ContextMenuStrip1_Closing(ByVal sender As Object, ByVal e As System.Windows.Forms.ToolStripDropDownClosingEventArgs) Handles ContextMain.Closing
        '    e.Cancel = Not blnClose
        '    blnClose = True
        'End Sub
        Private Sub ContextOpened() Handles ContextMain.Opened
            ContextEmuSettsProfCB.ComboBox.BindingContext = Me.BindingContext
            ContextEmuSettsProfCB.ComboBox.DisplayMember = "Name"
            ContextEmuSettsProfCB.ComboBox.ValueMember = "ID"
            ContextEmuSettsProfCB.ComboBox.DataSource = EmuSettsProfDV
        End Sub

        Private Sub CloseToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles CloseToolStripMenuItem.Click
            ContextMain.Close()


        End Sub

        Private Sub SaveEmuSettsSelCB_Click(sender As Object, e As EventArgs) Handles SaveEmuSettsSelCB.Click
            'below
        End Sub
        Private Sub SaveEmuSettsSelCB_SelChanged(sender As Object, e As EventArgs) Handles SaveEmuSettsSelCB.SelectedIndexChanged
            cfdb.echo("Text changed...")

            If SaveEmuSettsSelCB.Text = "Use Emulator Profile" Then
                cfdb.echo("Changin DD to match emu emu setts...")
                With ContextEmuSettsProfCB.ComboBox
                    .BindingContext = Me.BindingContext
                    .DataSource = EmuSettsProfDV
                    .DisplayMember = "Name"
                    .ValueMember = "ID"
                End With

                Try
                    ContextEmuSettsProfCB.ComboBox.SelectedValue = EmuSettsProfCB.SelectedValue
                Catch ex As Exception
                    cfdb.echo(ex.Message, True)
                    cfdb.echo(ex.StackTrace, True)
                    ContextEmuSettsProfCB.SelectedIndex = -1
                End Try

            ElseIf SaveEmuSettsSelCB.Text = "Use Game Profile" Then
                cfdb.echo("Changin DD to match game emu setts...")
                '   ContextEmuSettsProfCB.ComboBox.DataSource = GameSettsProfDV
                With ContextEmuSettsProfCB.ComboBox
                    .BindingContext = Me.BindingContext
                    .DataSource = GameSettsProfDV
                    .DisplayMember = "Name"
                    .ValueMember = "ID"
                End With

                Try
                    ContextEmuSettsProfCB.ComboBox.SelectedValue = PGSettsProfCB.SelectedValue
                Catch ex As Exception
                    cfdb.echo(ex.Message, True)
                    cfdb.echo(ex.StackTrace, True)
                    ContextEmuSettsProfCB.SelectedIndex = -1
                End Try

            End If
            ContextMain.Focus()

        End Sub

        Private Sub SysCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles SysCB.SelectedIndexChanged
            AutoSysNameBT_Click(Nothing, Nothing)
        End Sub

        Private Sub OpenRomsBT_Click(sender As Object, e As EventArgs) Handles OpenRomsBT.Click
            Process.Start(ROMSFolderTB.Text)
        End Sub

        Private Sub EmuSysCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles EmuSysCB.SelectedIndexChanged
            SysEmusDV.RowFilter = "SystemID = " & NotNull(EmuSysCB.SelectedValue, -1)

        End Sub




        Private Sub DelSuppAppBT_Click(sender As Object, e As EventArgs) Handles DelSuppAppBT.Click
            If SupportDGV.SelectedRows.Count < 1 Then
                MsgBox("Please select a row by clicking on a row header...", MsgBoxStyle.Exclamation)
                Return
            End If
            Dim selrowindex As Integer = SupportDGV.SelectedRows(0).Index
            Dim SuppAppID As Integer = SupportDGV.Rows(selrowindex).Cells("ID").Value
            Dim delrow() As DataRow = GemDSConfig.Tables("SupportApps").Select("ID = '" & SuppAppID & "'")

            Dim drow() As DataRow
            drow = GemDSConfig.Tables("SysSetup_Support").Select("SupportAppID = " & SuppAppID)
            For i As Integer = 0 To drow.Count - 1
                GemDSConfig.Tables("SysSetup_Support").Rows.Remove(drow(i))
            Next
            'If SupportDGV.SelectedRows(0).Index = 0 Then
            '    Return
            'End If
            For i As Integer = 0 To delrow.Count - 1
                GemDSConfig.Tables("SupportApps").Rows.Remove(delrow(i))
            Next

        End Sub

        Private Sub OpenQuickalunchToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles OpenQuickalunchToolStripMenuItem.Click
            OpenQL_Click(Nothing, Nothing)
        End Sub

        Private Sub OpenROMFolderToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles OpenROMFolderToolStripMenuItem.Click
            OpenRomsBT_Click(Nothing, Nothing)
        End Sub

        Private Sub GameFullBootToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles GameFullBootToolStripMenuItem.Click
            FullBootBT_Click(FullBootBT, Nothing)
        End Sub

        Private Sub GameSetupBootToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles GameSetupBootToolStripMenuItem.Click
            FullBootBT_Click(SetupBootBT, Nothing)
        End Sub

        Private Sub EmulatorToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles EmulatorToolStripMenuItem.Click
            BootEmuBT_Click(Nothing, Nothing)
        End Sub

        Private Sub ToolStripComboBox1_changed(sender As Object, e As EventArgs) Handles ToolStripComboBox1.SelectedIndexChanged

            If ToolStripComboBox1.SelectedIndex = 0 Then
                BootDefaultRB.Checked = True
                BootSelectedRB.Checked = False
            Else
                BootDefaultRB.Checked = False
                BootSelectedRB.Checked = True
            End If
        End Sub

        Private Sub ShowGEmvoyToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ShowGEmvoyToolStripMenuItem.Click

            If Me.WindowState = FormWindowState.Minimized Or Me.Visible = False Then
                Me.WindowState = FormWindowState.Normal
                Me.Show()
                Me.BringToFront()
            End If

        End Sub

        Private Sub CloseGEmvoyConfigToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles CloseGEmvoyConfigToolStripMenuItem.Click
            Me.Close()
        End Sub

        Private Sub ContextMain_Opening(sender As Object, e As CancelEventArgs) Handles ContextMain.Opening

            ContextMain.Left = 0
            ContextMain.Top = 0

            SaveEmuSettsSelCB.SelectedIndex = 0

            If BootDefaultRB.Checked = True Then
                ToolStripComboBox1.SelectedIndex = 0
            Else
                ToolStripComboBox1.SelectedIndex = 1
            End If

            If EmuSettsPerGame() Then
                SaveEmuSettsSelCB.SelectedIndex = 1
            Else
                SaveEmuSettsSelCB.SelectedIndex = 0
            End If

            ContextLeaveMountChB.Checked = LeaveImgChB.Checked

            CMGameLB.Image = EmuSettsIndicatorPB.Image

            GameSpecSettsContext.Checked = EmuSettsPerGame()

            PerGameOnEmuToolStripMenuItem.Checked = UseSettsScrptChB.Checked

            PerGameOnGameToolStripMenuItem.Checked = PGOverrideChB.Checked


        End Sub

        'Private Sub ContextLeave(sender As Object, e As System.EventArgs) Handles ContextMain.LostFocus
        '    With ContextMain
        '        ContextMain.Opacity = 0.5
        '        ' .Enabled = False
        '    End With
        'End Sub

        Private Sub ContextEnter(sender As Object, e As System.EventArgs) Handles ContextMain.MouseEnter
            With ContextMain
                ContextMain.Opacity = 1
                .Enabled = True
            End With
        End Sub

        Private Sub ContextMain_Opened(sender As Object, e As System.EventArgs) Handles ContextMain.Opened
            SaveEmuSettsSelCB_SelChanged(Nothing, Nothing)
        End Sub

        Private Sub CMGameLB_Click(sender As Object, e As EventArgs) Handles CMGameLB.Click
            CMGameLB.Image = EmuSettsIndicatorPB.Image
        End Sub

        Private Function EmuSettsPerGame() As Boolean
            'returns whether emu sets per game (true) or false = emu
            If UseSettsScrptChB.Checked = True Or PGOverrideChB.Checked = True Then
                Return True
            End If
            Return False
        End Function


        Private Sub PictureBox3_Click(sender As Object, e As EventArgs) Handles PictureBox3.Click
            cfdb.echo("Game refresh")
            If GameSelCB.Text = "" Then Return
            GameSelCB_SelectedIndexChanged(Nothing, Nothing)
        End Sub

        Private Sub PictureBox5_Click(sender As Object, e As EventArgs) Handles PictureBox5.Click
            cfdb.echo("Drive refresh")
            UpdateMount()
        End Sub

        Private Sub LoadToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles LoadToolStripMenuItem.Click
            If SaveEmuSettsSelCB.Text = "Use Emulator Profile" Then
                EmuLoadSettsBT_Click(Nothing, Nothing)
            Else
                LoadSettsBT_Click(Nothing, Nothing)
            End If
        End Sub

        Private Sub SAVEToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles SAVEToolStripMenuItem.Click
            If SaveEmuSettsSelCB.Text = "Use Emulator Profile" Then
                EmuSaveEmuSettsBT_Click(Nothing, Nothing)
            Else
                Button2_Click(Nothing, Nothing)
            End If
        End Sub

        Private Sub ContextLeaveMountChB_Click(sender As Object, e As EventArgs) Handles ContextLeaveMountChB.Click
            If ContextLeaveMountChB.Checked = True Then
                LeaveImgChB.Checked = True
            Else
                LeaveImgChB.Checked = False
            End If
        End Sub

        Private Sub LeaveImgChB_CheckedChanged(sender As Object, e As EventArgs)
            If LeaveImgChB.Checked = True Then
                ContextLeaveMountChB.Checked = True
            Else
                ContextLeaveMountChB.Checked = False
            End If
        End Sub

        Private Sub PerGameOnEmuToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles PerGameOnEmuToolStripMenuItem.Click
            If PerGameOnEmuToolStripMenuItem.Checked = True Then
                UseSettsScrptChB.Checked = True
                EmuSettsProfUseChB.Checked = False
            Else
                UseSettsScrptChB.Checked = False
                EmuSettsProfUseChB.Checked = True
            End If
            GameSpecSettsContext.Checked = EmuSettsPerGame()

            GroupBox27.Tag = GroupBox27.BackColor.ToArgb

            'UseSettsScrptChB.Tag = UseSettsScrptChB.BackColor.ToArgb
            'EmuSettsProfUseChB.Tag = EmuSettsProfUseChB.BackColor.ToArgb

            GroupBoxCtrlsChanged(GroupBox27, Nothing)
            '     GroupBoxCtrlsChanged(EmuSettsProfUseChB, Nothing)
            EmuChanges = True
        End Sub

        Private Sub UseSettsScrptChB_CheckedChanged(sender As Object, e As EventArgs) Handles UseSettsScrptChB.CheckedChanged
            If UseSettsScrptChB.Checked = True Then
                PerGameOnEmuToolStripMenuItem.Checked = True
            Else
                PerGameOnEmuToolStripMenuItem.Checked = False
            End If
        End Sub

        Private Sub PerGameOnGameToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles PerGameOnGameToolStripMenuItem.Click
            If PerGameOnGameToolStripMenuItem.Checked = True Then
                PGOverrideChB.Checked = True
            Else
                PGOverrideChB.Checked = False

            End If
            GameSpecSettsContext.Checked = EmuSettsPerGame()
            GroupBox32.Tag = GroupBox32.BackColor.ToArgb
            ' PGOverrideChB.Tag = PGOverrideChB.BackColor.ToArgb
            GroupBoxCtrlsChanged(GroupBox32, Nothing)
            GameChanges = True
        End Sub

        Private Sub PGOverrideChB_CheckedChanged(sender As Object, e As EventArgs) Handles PGOverrideChB.CheckedChanged
            If PGOverrideChB.Checked = True Then
                PerGameOnGameToolStripMenuItem.Checked = True
                PGSettsProfCB.Text = "Game Default"
            Else
                PerGameOnGameToolStripMenuItem.Checked = False
                PGSettsProfCB.SelectedIndex = -1
            End If

        End Sub


        Private Shared Function ValidateAllChildern(cc As ContainerControl) As Boolean
            Return cc.ValidateChildren() And cc.Controls.OfType(Of ContainerControl)().[Select](Function(c) ValidateAllChildern(c)).Aggregate(True, Function(x, y) x And y)
        End Function

        Private Sub ContextEmuSettsProfCB_Click(sender As Object, e As EventArgs) Handles ContextEmuSettsProfCB.SelectedIndexChanged
            ContextMain.Focus()
        End Sub

        Private Sub ToolStripComboBox1_Click(sender As Object, e As EventArgs) Handles ToolStripComboBox1.SelectedIndexChanged
            ContextMain.Focus()
        End Sub

        Private Sub FadeToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles FadeToolStripMenuItem.Click
            With ContextMain
                ContextMain.Opacity = 0.2
                ' .Enabled = False
            End With
        End Sub

        Private Sub MOveContext(sender As Object, e As EventArgs) Handles ContextMain.Opening
            If My.Settings.ContextMove = True Then
                ContextMain.Show(My.Settings.ContextPos)
            End If
        End Sub

        Private Sub ContextMoveChB_CheckedChanged(sender As Object, e As EventArgs) Handles ContextMoveChB.CheckedChanged
            If ContextMoveChB.Checked = True Then
                My.Settings.ContextMove = True
            Else
                My.Settings.ContextMove = False
            End If
        End Sub


        Private Sub Contextsize_TextChanged(sender As Object, e As System.Windows.Forms.KeyPressEventArgs) Handles ContextX.KeyPress, ContextY.KeyPress
            If e.KeyChar <> ControlChars.Back Then
                e.Handled = Not (Char.IsDigit(e.KeyChar))
            End If
        End Sub

        Private Sub ContextX_MaskInputRejected(sender As Object, e As EventArgs) Handles ContextX.Validated, ContextY.Validated
            If ContextX.Text <> "" And ContextY.Text <> "" Then
                My.Settings.ContextPos = New System.Drawing.Point(ContextX.Text, ContextY.Text)
            End If
        End Sub

        Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
            If ContextMain.Visible = True Then
                ContextMain.Close()
            Else
                If My.Settings.ContextMove = True Then
                    ContextMain.Show(My.Settings.ContextPos)
                Else
                    ContextMain.Show()
                End If

            End If
        End Sub



        Private Sub MinConfig_CheckedChanged(sender As Object, e As EventArgs) Handles MinConfig.CheckedChanged
            If MinConfig.Checked = True Then
                My.Settings.ConfigMin = True
            Else
                My.Settings.ConfigMin = False
            End If
        End Sub

        Private Sub DebugMode_CheckedChanged(sender As Object, e As EventArgs) Handles DebugMode.CheckedChanged
            If DebugMode.Checked = True Then
                My.Settings.ConfigDebug = True
            Else
                My.Settings.ConfigDebug = False
            End If
        End Sub

        Private Sub SaveAll_Click(sender As Object, e As EventArgs) Handles SaveAll.Click
            If Not (LogoFade.IsBusy) Then
                LogoFade.RunWorkerAsync(sender)
            End If
            SaveSystems()
            ClearEditIndicators()
            EmuSave_Click(Nothing, Nothing)
            GamesSave_Click(Nothing, Nothing)

            ' TabControl1.SelectedIndex = 0

            '   TabControl1.TabPages(TabControl1.TabIndex).Show()
            'TabControl_DrawItem(Nothing, TabControl1.SelectedIndex)
        End Sub

        Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click
            ChangeGamesList(False)
        End Sub

        Private Sub DbBUBt_Click(sender As Object, e As EventArgs) Handles DbBUBt.Click
            If Not (Directory.Exists(GEmvoy.Setts.DatabaseDir & "\User\")) Then
                Directory.CreateDirectory(GEmvoy.Setts.DatabaseDir & "\User\")
            End If
            File.Copy(GEmvoy.Setts.DatabaseDir & "\GemDS.xml", GEmvoy.Setts.DatabaseDir & "\User\GemDS.xml", True)
            If Not (LogoFade.IsBusy) Then
                LogoFade.RunWorkerAsync(sender)
            End If
        End Sub

        Private Sub UpdateAlgosBT_Click(sender As Object, e As EventArgs) Handles UpdateAlgosBT.Click
            Call FTPSyncFolders("/Software/MyApps/Gemvoy/Algorithms/", GEmvoy.GameExPath & "\PLUGINS\GEmvoy\SettingsAlgorithms\")
        End Sub

        Public Sub FTPSyncFolders(ByVal Source As String, ByVal Destination As String)

            cflog.echo("Starting Algorithms FTP download")

            ' Dim Server As String = "niftymonkey.homeserver.com"
            Dim Server As String = "niftymonkey.homeserver.com"
            Dim Username As String = "RO_Public"
            Dim pw As String = "MagoLeftMagoRight"

            ' Setup session options
            Dim mySessionOptions As New SessionOptions
            With mySessionOptions
                .Protocol = Protocol.Ftp
                .HostName = Server
                .UserName = Username
                .Password = pw
                .PortNumber = 53546
                .FtpMode = FtpMode.Passive
                '.SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
            End With

            Using mySession As Session = New Session
                ' Will continuously report progress of synchronization
                AddHandler mySession.FileTransferred, AddressOf FileTransferred

                ' Connect
                cflog.echo("Attempting Connection to remote server....")
                Try
                    mySession.Open(mySessionOptions)
                Catch ex As WinSCP.SessionRemoteException
                    Dim inner As String = "No Details."
                    If Not (ex.InnerException Is Nothing) Then
                        inner = ex.InnerException.ToString
                    End If
                    cflog.echo("Connection error: " & ex.Message)
                    Return
                End Try
                cflog.echo("Connected successfully...")

                ' Synchronize files
                cflog.echo("Syncing between Local and Remote Assets Folder...")
                Dim mySynchronizationResult As SynchronizationResult
                mySynchronizationResult = _
                    mySession.SynchronizeDirectories( _
                        SynchronizationMode.Local,
                        Destination,
                        Source,
                        False, True, SynchronizationCriteria.Time, )

                ' Throw on any error
                'mySynchronizationResult.Check()
            End Using
            cflog.echo("Algorithms FTP download completed successfully.")
        End Sub

        Private Sub FileTransferred(ByVal sender As Object, ByVal e As TransferEventArgs)

            If e.Error Is Nothing Then
                cflog.echo("Download of file succeeded: " & e.FileName)

                '  AssetsUpdateConsole.AppendText(AssetsUpdateConsole.Text & "Download succeeded: " & e.FileName & vbNewLine)
            Else
                'AssetsUpdateConsole.AppendText(AssetsUpdateConsole.Text & "Download failed: " & e.FileName & " (" & e.Error.ToString & ")" & vbNewLine)
            End If

            If e.Chmod IsNot Nothing Then
                If e.Chmod.Error Is Nothing Then
                    cflog.echo("Permisions error: " & e.Chmod.FileName & " --- " & e.Chmod.FilePermissions.ToString)
                Else
                    cflog.echo("Setting permissions failed: " & e.Chmod.FileName & " --- " & e.Chmod.Error.ToString)
                End If
            Else
                cflog.echo("Permissions of file kept with their defaults: " & e.Destination)
            End If

            If e.Touch IsNot Nothing Then
                If e.Touch.Error Is Nothing Then
                    cflog.echo("Timestamp of file set: " & e.Touch.FileName & e.Touch.LastWriteTime.ToString)
                Else
                    cflog.echo("Setting timestamp of file failed: " & e.Touch.FileName & " --- " & e.Touch.Error.ToString)
                End If
            Else
                ' This should never happen during "local to remote" synchronization
                cflog.echo("Timestamp of file kept with its default (current time)" & e.Destination.ToString)
            End If
            ' AssetsUpdateConsole.Refresh()
        End Sub

        Private Sub SupportDGV_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles SupportDGV.CellContentClick
            cflog.echo("Launch App chosen.")

            If SupportDGV.Columns(e.ColumnIndex).HeaderText = "Launch" Then
                If SupportDGV.Rows(e.RowIndex).IsNewRow Then
                    Return
                End If
                Dim SAppRow() As DataRow = GemDSConfig.Tables("SupportApps").Select("ID = " & SupportDGV.Rows(e.RowIndex).Cells("ID").Value)
                If SAppRow.Count < 1 Then Return
                cflog.echo("Exe: " & SAppRow(0).Item("Exe"))
                Dim SApp As New ProcessStartInfo
                With SApp
                    .FileName = SAppRow(0).Item("Exe")
                    '.Arguments = NotNull(EmuConfigAppsDGV.Rows(e.RowIndex).Cells("Parameters").Value, "")
                    '.WindowStyle = ReturnWindowStyle(approw("AppVisibility"))
                End With
                Process.Start(SApp)
            End If
        End Sub

        Private Sub PictureBox6_Click(sender As Object, e As EventArgs) Handles PictureBox10.Click, PictureBox6.Click
            Process.Start("https://docs.google.com/spreadsheets/d/1Q31Fj5RjDD-wZTgxUNYB6Nvxt2FOibAq0C-xSRb7umI/edit?usp=sharing")
        End Sub

        Private Sub PictureBox7_Click(sender As Object, e As EventArgs) Handles PictureBox7.Click
            Process.Start("https://gemvoy.codeplex.com/")
        End Sub


        Private Sub Button8_Click(sender As Object, e As EventArgs) Handles Button8.Click
            Process.Start("https://drive.google.com/folderview?id=0B1BknYzq4cLvT201TFdkNlJGTGc&usp=sharing")
        End Sub

        Private Sub KeepAlwysTB_TextChanged(sender As Object, e As EventArgs) Handles KeepAlwysTB.TextChanged

        End Sub

        Private Sub WCSelect_SelectedIndexChanged(sender As Object, e As EventArgs) Handles WCSelect.SelectedIndexChanged
            GEmvoy.Setts.CamNumber = WCSelect.SelectedIndex
            GEmvoy.Setts.SaveSetts()
            UpdateCamButtons()
        End Sub

        Private Sub WCStart_Click(sender As Object, e As EventArgs) Handles WCStart.Click
            Try
                WCPrev.StartCapture(Cams(WCSelect.SelectedIndex))
            Catch ex As Exception
                MsgBox("Difficulties starting this Camera. This can occur when using webcam software which prevents the selection of the raw cam. Error: " & ex.Message, MsgBoxStyle.Exclamation, "Webcam Error")
            End Try
            UpdateCamButtons()
        End Sub

        Private Sub UpdateCamButtons()
            WCStart.Enabled = WCSelect.SelectedItem <> ""
            WCStop.Enabled = WCPrev.IsCapturing
            WCSnap.Enabled = WCPrev.IsCapturing
            ImageAdjustGB.Enabled = WCPrev.IsCapturing
        End Sub

        Private Sub WCStop_Click(sender As Object, e As EventArgs) Handles WCStop.Click
            WCPrev.StopCapture()
            UpdateCamButtons()
        End Sub

        Private Sub WCSnap_Click(sender As Object, e As EventArgs) Handles WCSnap.Click
            Dim WCImage As Bitmap
            WCImage = WCPrev.GetCurrentImage()
            CamSnap.Image = ConvertedImage(WCImage, SnapBrightness.Value / 100,
                                           SnapContrast.Value / 100, SnapGamma.Value / 100,
                                           SnapRed.Value / 100, SnapGreen.Value / 100, SnapBlue.Value / 100,
                                           SnapStamp.Checked, SnapPIP.Checked)
            WorkingImage = WCImage
        End Sub

        Private Function ConvertedImage(originalimage As Bitmap, brightness As Single,
                                        contrast As Single, gamma As Single,
                                        red As Single, green As Single, blue As Single,
                                        timestamp As Boolean, pip As Boolean) As Bitmap

            Dim adjustedBrightness As Single = brightness - 1.0F
            Dim adjustedImage As Bitmap = originalimage
            ' create matrix that will brighten and contrast the image
            ' scale red
            ' scale green
            ' scale blue
            ' don't scale alpha
            Dim ptsArray As Single()() = {New Single() {contrast + red, 0, 0, 0, 0}, New Single() {0, contrast + green, 0, 0, 0}, New Single() {0, 0, contrast + blue, 0, 0}, New Single() {0, 0, 0, 1.0F, 0}, New Single() {adjustedBrightness, adjustedBrightness, adjustedBrightness, 0, 1}}

            Dim ImageAttributes As New ImageAttributes()
            ImageAttributes.ClearColorMatrix()
            ImageAttributes.SetColorMatrix(New ColorMatrix(ptsArray), ColorMatrixFlag.[Default], ColorAdjustType.Bitmap)
            ImageAttributes.SetGamma(gamma, ColorAdjustType.Bitmap)
            Dim g As Graphics = Graphics.FromImage(adjustedImage)
            g.DrawImage(originalimage, New Rectangle(0, 0, adjustedImage.Width, adjustedImage.Height), 0, 0, originalimage.Width, originalimage.Height, _
                GraphicsUnit.Pixel, ImageAttributes)

            'Timestamp
            If timestamp = True Then
                Dim font As Font
                Dim point As PointF
                font = New Font("Arial", 20.0F)
                point = New PointF(5, adjustedImage.Height - 30)
                g.DrawString(String.Format("{0:dd/MM/yyyy}", DateTime.Now), font, Brushes.Yellow, point)
            End If

            'Screenie
            If pip = True Then
                Dim pointx As Integer = adjustedImage.Width * 60 / 100
                Dim pointy As Integer = adjustedImage.Height * 60 / 100
                Dim pipw As Integer = adjustedImage.Width - pointx - 10
                Dim piph As Integer = adjustedImage.Height - pointy - 10
                g.DrawImage(TakeScreenShot,
                            pointx,
                            pointy,
                            pipw,
                            piph)
            End If

            Return adjustedImage

        End Function

        Private Function TakeScreenShot() As Bitmap

            Dim screenSize As Size = New Size(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)

            Dim screenGrab As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)

            Dim g As Graphics = Graphics.FromImage(screenGrab)

            g.CopyFromScreen(New System.Drawing.Point(0, 0), New System.Drawing.Point(0, 0), screenSize)

            Return screenGrab

        End Function

        Private Sub SnapBrightness_Scroll(sender As Object, e As EventArgs) Handles SnapBrightness.MouseUp, SnapContrast.MouseUp, SnapGamma.MouseUp, SnapRed.MouseUp, SnapBlue.MouseUp, SnapGreen.MouseUp
            If FormLoadFinished = False Then Return
            WCSnap_Click(Nothing, Nothing)
            ImgSaveBT_Click(Nothing, Nothing)
        End Sub

        Private Sub ImgSaveBT_Click(sender As Object, e As EventArgs) Handles ImgSaveBT.Click
            GEmvoy.Setts.CamBrightness = SnapBrightness.Value
            GEmvoy.Setts.CamContrast = SnapContrast.Value
            GEmvoy.Setts.CamGamma = SnapGamma.Value
            GEmvoy.Setts.CamRed = SnapRed.Value
            GEmvoy.Setts.CamGreen = SnapGreen.Value
            GEmvoy.Setts.CamBlue = SnapBlue.Value
            GEmvoy.Setts.SaveSetts()
            'If Not (LogoFade.IsBusy) Then
            '    LogoFade.RunWorkerAsync(sender)
            'End If
        End Sub


        Private Sub SlidersResetBT_Click(sender As Object, e As EventArgs) Handles SlidersResetBT.Click
            SnapBrightness.Value = 100
            SnapContrast.Value = 100
            SnapGamma.Value = 100
            SnapRed.Value = 0
            SnapGreen.Value = 0
            SnapBlue.Value = 0

            WCSnap_Click(Nothing, Nothing)
            ImgSaveBT_Click(Nothing, Nothing)
        End Sub

        Private Sub CamSnap_Click(sender As Object, e As EventArgs) Handles CamSnap.Click
            Dim pic As New PictureViewer
            pic.Image = CamSnap.Image
            pic.Show()
        End Sub



        Private Sub SnapFor_TextChanged(sender As Object, e As KeyPressEventArgs) Handles SnapFor.KeyPress, SnapGap.KeyPress, BurstWait.KeyPress, BurstNumber.KeyPress, SnapProbability.KeyPress, SnapFor.KeyPress

            If e.KeyChar <> ControlChars.Back Then
                e.Handled = Not (Char.IsDigit(e.KeyChar))
            End If

        End Sub

        Private Sub SnapGap_TextChanged(sender As Object, e As CancelEventArgs) Handles SnapGap.Validating
            If sender.text = "" Then SnapGap.Text = "100"
            If sender.text < 100 Then
                SnapGap.Text = "100"
            End If
            GEmvoy.Setts.CamSnapGap = SnapGap.Text
            GEmvoy.Setts.SaveSetts()
        End Sub


        Private Sub SnapMode_SelectedIndexChanged(sender As Object, e As EventArgs) Handles SnapMode.SelectedIndexChanged
            GEmvoy.Setts.CamMode = SnapMode.Text
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub BurstWait_TextChanged(sender As Object, e As CancelEventArgs) Handles BurstWait.Validating
            If sender.text = "" Then BurstWait.Text = "1"
            If sender.text < 1 Then
                BurstWait.Text = "1"
            End If
            GEmvoy.Setts.CamBurstWait = BurstWait.Text
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub BurstNumber_TextChanged(sender As Object, e As CancelEventArgs) Handles BurstNumber.Validating
            If sender.text = "" Then BurstNumber.Text = "1"
            If sender.text < 1 Or sender.text = "" Then
                BurstNumber.Text = "1"
            End If
            GEmvoy.Setts.CamBurstNumber = sender.Text
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub SnapProbability_TextChanged(sender As Object, e As EventArgs) Handles SnapProbability.TextChanged
        End Sub
        Private Sub SnapProbability_validating(sender As Object, e As CancelEventArgs) Handles SnapProbability.Validating
            If sender.text = "" Then SnapProbability.Text = "100"
            If sender.text < 1 Or sender.text > 100 Or sender.text = "" Then
                SnapProbability.Text = "100"
            End If
            GEmvoy.Setts.CamSnapProb = sender.Text
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub SnapFor_Validating(sender As Object, e As CancelEventArgs) Handles SnapFor.Validating
            If sender.text = "" Then sender.Text = "1"
            If sender.text < 0 Or sender.text = "" Then
                sender.Text = "1"
            End If
            GEmvoy.Setts.CamCaptureFor = sender.Text
            GEmvoy.Setts.SaveSetts()
        End Sub


        Private Sub SnapPathFBD_BT_Click(sender As Object, e As EventArgs) Handles SnapPathFBD_BT.Click
            With FBD1
                .Description = "Choose where to store the Cam Snaps...."
                .SelectedPath = SnapPath.Text
            End With
            Dim result As Windows.Forms.DialogResult = FBD1.ShowDialog()
            If result = Windows.Forms.DialogResult.OK Then
                SnapPath.Text = FBD1.SelectedPath
            End If
            GEmvoy.Setts.CamPath = SnapPath.Text
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub SnapDateFolders_CheckedChanged(sender As Object, e As EventArgs) Handles SnapDateFolders.CheckedChanged
            GEmvoy.Setts.CamDateFolder = SnapDateFolders.Checked
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub SnapPIP_CheckedChanged(sender As Object, e As EventArgs) Handles SnapPIP.CheckedChanged
            GEmvoy.Setts.CamPIP = SnapPIP.Checked
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub SnapStamp_CheckedChanged(sender As Object, e As EventArgs) Handles SnapStamp.CheckedChanged
            GEmvoy.Setts.CamStamp = SnapStamp.Checked
            GEmvoy.Setts.SaveSetts()
        End Sub



        Private Sub SnapKeyName_TextChanged_1(sender As Object, e As EventArgs) Handles SnapKeyName.TextChanged
        End Sub
        Private Sub SnapKeyName_TextChanged(sender As Object, e As PreviewKeyDownEventArgs) Handles SnapKeyName.PreviewKeyDown
            Dim kc As New KeysConverter

            Dim KeyCode = e.KeyCode
            Dim FriendlyName As String = kc.ConvertToString(e.KeyCode)
            Dim ControlKey As Boolean = False

            'Test if shift,ctrl or alt pressed
            If e.KeyCode = Keys.Control Or e.KeyCode = Keys.Alt Or e.KeyCode = Keys.Shift Then
                cfdb.echo("Control key pressed")
                ControlKey = True
            End If

            '    cfdb.echo("MOdified keys used. Determining which one...")
            If GetKeyState(Keys.LShiftKey) < 0 Then
                KeyCode = 160
                FriendlyName = "LShiftKey"
            ElseIf GetKeyState(Keys.LControlKey) < 0 Then
                KeyCode = 162
                FriendlyName = "LControlKey"
            ElseIf GetKeyState(Keys.LWin) < 0 Then
                KeyCode = 91
                FriendlyName = "LWin"
            ElseIf GetKeyState(Keys.RControlKey) < 0 Then
                KeyCode = 163
                FriendlyName = "RControlKey"
            ElseIf GetKeyState(Keys.RShiftKey) < 0 Then
                KeyCode = 161
                FriendlyName = "RShiftKey"
            ElseIf GetKeyState(Keys.RWin) < 0 Then
                KeyCode = 92
                FriendlyName = "RWin"
            ElseIf GetKeyState(Keys.LMenu) < 0 Then
                KeyCode = 164
                FriendlyName = "LMenu"
            ElseIf GetKeyState(Keys.RMenu) < 0 Then
                KeyCode = 165
                FriendlyName = "RMenu"
            End If
            'End If
            ' MsgBox("KeyName: " & FriendlyName & vbCr & "KeyCode: " & KeyCode, MsgBoxStyle.Information)

            sender.text = FriendlyName
            sender.tag = KeyCode

            GEmvoy.Setts.CamHotkey = KeyCode
            SnapKeyName.Text = FriendlyName

            GEmvoy.Setts.SaveSetts()

        End Sub

        Private Sub CamSnapEnabled_CheckedChanged(sender As Object, e As EventArgs) Handles CamSnapEnabled.CheckedChanged
            GEmvoy.Setts.CamEnabled = CamSnapEnabled.Checked
            GEmvoy.Setts.SaveSetts()
        End Sub


        Private Sub UseHotkeyChB_CheckedChanged(sender As Object, e As EventArgs) Handles UseHotkeyChB.CheckedChanged
            GEmvoy.Setts.CamUseHotkey = UseHotkeyChB.Checked
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub WarnOnBootChB_CheckedChanged(sender As Object, e As EventArgs) Handles WarnOnBootChB.CheckedChanged
            GEmvoy.Setts.CamWarn = WarnOnBootChB.Checked
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub SuppSettsAudioChB_CheckedChanged(sender As Object, e As EventArgs) Handles SuppSettsAudioChB.CheckedChanged
            GEmvoy.Setts.SuppSettsAudio = SuppSettsAudioChB.Checked
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub VirtDriveCB_SelectedIndexChanged(sender As Object, e As EventArgs) Handles VirtDriveCB.SelectedIndexChanged

        End Sub

        Private Sub EmuFolderBT_Click(sender As Object, e As EventArgs) Handles EmuFolderBT.Click
            Try
                Process.Start(Path.GetDirectoryName(EmuExeTB.Text))
            Catch
                MsgBox("Problem opening Emulator Direcotry. Please check..", MsgBoxStyle.Exclamation)
            End Try

        End Sub

        Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click
            Process.Start(GEmvoy.Setts.CamPath)
        End Sub

        Private Sub EmuSettsDL_Click(sender As Object, e As EventArgs) Handles EmuSettsDL.Click
            Process.Start("https://drive.google.com/open?id=0B1BknYzq4cLvT201TFdkNlJGTGc")
        End Sub

        Private Sub PictureBox8_Click(sender As Object, e As EventArgs) Handles PictureBox8.Click
            Process.Start("http://www.gameex.info/forums/topic/17536-plugin-gemvoy/?do=findComment&comment=154626")
        End Sub


        Private Sub PictureBox9_Click(sender As Object, e As EventArgs) Handles PictureBox9.Click
            Process.Start("https://www.youtube.com/playlist?list=PLdaXx0sPIMZEv7k5wjEWqJLDREdsf45jW")
        End Sub

        Private Sub DonateBT_Click(sender As Object, e As EventArgs) Handles DonateBT.Click
            Process.Start("http://paypal.me/stigzler")
        End Sub


        Private Sub Button10_Click(sender As Object, e As EventArgs) Handles Button10.Click
            With ofd1
                .Title = "Please a GameEx Intro sound"
                .Filter = "mp3|*.mp3|wav|*.wav"
                Try
                    .InitialDirectory = Path.GetDirectoryName(GESoundIntro.Text)
                    .FileName = Path.GetFileName(GESoundIntro.Text)
                Catch
                    .InitialDirectory = Plugin.GEmvoy.GEThemeMediaPath
                End Try
            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                If Not Path.GetExtension(ofd1.FileName) = ".wav" And
                    Not Path.GetExtension(ofd1.FileName) = ".mp3" Then
                    MsgBox("You need to choose a .wav or .mp3 file...")
                    Return
                Else
                    GESoundIntro.Text = ofd1.FileName
                    My.Settings.GESoundIntro = ofd1.FileName
                End If
            End If
        End Sub

        Private Sub Button13_Click(sender As Object, e As EventArgs) Handles Button13.Click
            With ofd1
                .Title = "Please a GameEx Focus sound"
                .Filter = "mp3|*.mp3|wav|*.wav"
                Try
                    .InitialDirectory = Path.GetDirectoryName(GESoundFocus.Text)
                    .FileName = Path.GetFileName(GESoundFocus.Text)
                Catch
                    .InitialDirectory = Plugin.GEmvoy.GEThemeMediaPath
                End Try
            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                If Not Path.GetExtension(ofd1.FileName) = ".wav" And
                    Not Path.GetExtension(ofd1.FileName) = ".mp3" Then
                    MsgBox("You need to choose a .wav or .mp3 file...")
                    Return
                Else
                    GESoundFocus.Text = ofd1.FileName
                    My.Settings.GESoundFocus = ofd1.FileName
                End If
            End If
        End Sub



        Private Sub Button15_Click(sender As Object, e As EventArgs) Handles Button15.Click
            With ofd1
                .Title = "Please a GameEx Select sound"
                .Filter = "mp3|*.mp3|wav|*.wav"
                Try
                    .InitialDirectory = Path.GetDirectoryName(GESoundSelect.Text)
                    .FileName = Path.GetFileName(GESoundSelect.Text)
                Catch
                    .InitialDirectory = Plugin.GEmvoy.GEThemeMediaPath
                End Try
            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                If Not Path.GetExtension(ofd1.FileName) = ".wav" And
                    Not Path.GetExtension(ofd1.FileName) = ".mp3" Then
                    MsgBox("You need to choose a .wav or .mp3 file...")
                    Return
                Else
                    GESoundSelect.Text = ofd1.FileName
                    My.Settings.GESoundSelect = ofd1.FileName
                End If
            End If
        End Sub

        Private Sub Button17_Click(sender As Object, e As EventArgs) Handles Button17.Click
            With ofd1
                .Title = "Please a GameEx Launch sound"
                .Filter = "mp3|*.mp3|wav|*.wav"
                Try
                    .InitialDirectory = Path.GetDirectoryName(GESoundLaunch.Text)
                    .FileName = Path.GetFileName(GESoundLaunch.Text)
                Catch
                    .InitialDirectory = Plugin.GEmvoy.GEThemeMediaPath
                End Try
            End With
            If ofd1.ShowDialog = Windows.Forms.DialogResult.OK Then
                If Not Path.GetExtension(ofd1.FileName) = ".wav" And
                    Not Path.GetExtension(ofd1.FileName) = ".mp3" Then
                    MsgBox("You need to choose a .wav or .mp3 file...")
                    Return
                Else
                    GESoundLaunch.Text = ofd1.FileName
                    My.Settings.GESoundLaunch = ofd1.FileName
                End If
            End If
        End Sub



        Private Sub Button11_Click(sender As Object, e As EventArgs) Handles Button11.Click
            Try
                Dim audio As New SimplePlayer(GESoundIntro.Text)
                audio.Close()
                audio.Play()

            Catch ex As Exception
                cfdb.echo(ex.Message)
            End Try

        End Sub

        Private Sub Button12_Click(sender As Object, e As EventArgs) Handles Button12.Click
            Try
                Dim audio As New SimplePlayer(GESoundFocus.Text)
                audio.Close()
                audio.Play()

            Catch ex As Exception
                cfdb.echo(ex.Message)
            End Try

        End Sub

        Private Sub Button14_Click(sender As Object, e As EventArgs) Handles Button14.Click
            Try
                Dim audio As New SimplePlayer(GESoundSelect.Text)
                audio.Close()
                audio.Play()

            Catch ex As Exception

            End Try

        End Sub

        Private Sub Button16_Click(sender As Object, e As EventArgs) Handles Button16.Click
            Try
                Dim audio As New SimplePlayer(GESoundLaunch.Text)
                audio.Close()
                audio.Play()

            Catch ex As Exception

            End Try

        End Sub

        Private Sub Button18_Click(sender As Object, e As EventArgs) Handles Button18.Click

            Dim BUFiles As New List(Of String) From {"focus", "launch", "select", "introsound"}
            For Each BUFile As String In BUFiles
                File.Delete(Plugin.GEmvoy.GEThemeMediaPath & "\" & BUFile & ".wav")
                File.Delete(Plugin.GEmvoy.GEThemeMediaPath & "\" & BUFile & ".mp3")
            Next

            Try
                File.Copy(GESoundFocus.Text, Plugin.GEmvoy.GEThemeMediaPath & "\focus" & Path.GetExtension(GESoundFocus.Text), True)
                File.Copy(GESoundIntro.Text, Plugin.GEmvoy.GEThemeMediaPath & "\introsound" & Path.GetExtension(GESoundIntro.Text), True)
                File.Copy(GESoundLaunch.Text, Plugin.GEmvoy.GEThemeMediaPath & "\launch" & Path.GetExtension(GESoundLaunch.Text), True)
                File.Copy(GESoundSelect.Text, Plugin.GEmvoy.GEThemeMediaPath & "\select" & Path.GetExtension(GESoundSelect.Text), True)
                MsgBox("Sounds injected successfully.")
            Catch ex As Exception
                MsgBox("Error whilst injecting sounds into Theme/Media folder - check log and the folder manually.", MsgBoxStyle.Exclamation, "Sound injection error.")
                cflog.echo("ERROR: injecting sounnds failed.")
                cflog.echo(ex.Message, True)
                cflog.echo(ex.StackTrace, True)
            End Try
        End Sub

        Private Sub DialoguePrevPB_Click(sender As Object, e As EventArgs) Handles DialoguePrevPB.Click
        End Sub
        Private Sub DialoguePrevPB_MouseDown(sender As Object, e As Windows.Forms.MouseEventArgs) Handles DialoguePrevPB.MouseDown
            If e.Button = Windows.Forms.MouseButtons.Left Then
                Process.Start(Plugin.GEmvoy.GEThemeMediaPath & "dialog_template.png")
            ElseIf e.Button = Windows.Forms.MouseButtons.Right Then
                Process.Start(Plugin.GEmvoy.GEThemeMediaPath)
            End If
        End Sub

        Private Sub Button19_Click(sender As Object, e As EventArgs) Handles Button19.Click
            DialoguePrevPB.Image = SafeImageFromFile(Plugin.GEmvoy.GEThemeMediaPath & "dialog_template.png")
        End Sub



        Private Sub Button20_Click(sender As Object, e As EventArgs) Handles Button20.Click

            Dim ThemeBGSize As New Size
            Dim DialogSize As New Size

            Dim DialogPoint As New System.Drawing.Point

            Dim padding As Integer = CInt(PaddingTB.Text)
            Dim scalefactor As Double = MsgScaler.Text

            ThemeBGSize = SafeImageFromFile(Plugin.GEmvoy.GEThemeMediaPath & "StartBak.png").Size
            cfdb.echo("StartBak.png size in Theme: " & ThemeBGSize.ToString)

            DialogSize = SafeImageFromFile(Plugin.GEmvoy.GEThemeMediaPath & "dialog_template.png").Size
            cfdb.echo("Dialog.png size in Theme: " & ThemeBGSize.ToString)

            If DialogSize.Height > ThemeBGSize.Height * scalefactor Or
                DialoguePrevPB.Width > ThemeBGSize.Width * scalefactor Then
                MsgBox("The Dialog box is too large. Please rveise")
                Return
            End If

            Select Case DialogPosCB.Text
                Case "Top Right"
                    DialogPoint.X = ThemeBGSize.Width - DialogSize.Width - padding
                    DialogPoint.Y = padding
                Case "Middle Right"
                    DialogPoint.X = ThemeBGSize.Width - DialogSize.Width - padding
                    DialogPoint.Y = (ThemeBGSize.Height / 2) - (DialogSize.Height / 2)
                Case "Bottom Right"
                    DialogPoint.X = ThemeBGSize.Width - DialogSize.Width - padding
                    DialogPoint.Y = ThemeBGSize.Height - DialogSize.Height - padding
                Case "Bottom Left"
                    DialogPoint.X = padding
                    DialogPoint.Y = ThemeBGSize.Height - DialogSize.Height - padding
                Case "Top Left"
                    DialogPoint.X = padding
                    DialogPoint.Y = padding
                Case "Middle"
                    DialogPoint.X = (ThemeBGSize.Width / 2) - (DialogSize.Width / 2)
                    DialogPoint.Y = (ThemeBGSize.Height / 2) - (DialogSize.Height / 2)
            End Select

            Dim NewImg As New Bitmap(CInt((ThemeBGSize.Width - DialogPoint.X) * scalefactor),
                                     CInt((ThemeBGSize.Height - DialogPoint.Y) * scalefactor))
            Dim g As Graphics = Graphics.FromImage(NewImg)

            g.DrawImage(SafeImageFromFile(Plugin.GEmvoy.GEThemeMediaPath & "dialog_template.png"),
                        0, 0,
                        CInt(DialogSize.Width * scalefactor),
                       CInt(DialogSize.Height * scalefactor))

            File.Delete(Plugin.GEmvoy.GEThemeMediaPath & "dialog.png")
            NewImg.Save(Plugin.GEmvoy.GEThemeMediaPath & "dialog.png", Imaging.ImageFormat.Png)

            Dim Sample As Image = SafeImageFromFile(Plugin.GEmvoy.GEThemeMediaPath & "StartBak.png")
            g = Graphics.FromImage(Sample)
            g.DrawImage(NewImg,
                       DialogPoint.X, DialogPoint.Y,
                       CInt(NewImg.Width * 1 / scalefactor),
                       CInt(NewImg.Height * 1 / scalefactor))
            MsgBoxPrevPB.Image = Sample

            MsgBox("Message Box injected successfully")

        End Sub

        Public Shared Function SafeImageFromFile(path As String) As Image
            Using fs As New FileStream(path, FileMode.Open, FileAccess.Read)
                Dim img = Image.FromStream(fs)
                Return img
            End Using
        End Function

        Private Sub MsgScale_Keypress(sender As Object, e As System.Windows.Forms.KeyPressEventArgs) Handles MsgScaler.KeyPress
            If e.KeyChar <> ControlChars.Back And e.KeyChar <> "." Then
                e.Handled = Not (Char.IsDigit(e.KeyChar))
            End If
        End Sub

        Private Sub MsgScale_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles MsgScaler.Validating
            If CInt(sender.text) < 0 Or CInt(sender.text) > 0.5 Then
                sender.text = "0.48"
            End If
        End Sub

        Private Sub MsgScale_Validated(sender As Object, e As EventArgs) Handles MsgScaler.Validated
            My.Settings.GEMsgScale = MsgScaler.Text
            My.Settings.Save()
        End Sub

        Private Sub PaddingTB_TextChanged(sender As Object, e As System.Windows.Forms.KeyPressEventArgs) Handles PaddingTB.KeyPress
            If e.KeyChar <> ControlChars.Back Then
                e.Handled = Not (Char.IsDigit(e.KeyChar))
            End If
        End Sub


        Private Sub PaddingTB_TextChanged(sender As Object, e As EventArgs) Handles PaddingTB.Validated, PaddingTB.KeyPress
            My.Settings.GEMsgPadding = PaddingTB.Text
            My.Settings.Save()
        End Sub

        Private Sub RfrshCamsBT_Click(sender As Object, e As EventArgs) Handles RfrshCamsBT.Click

            Cams.Clear()
            For Each cam As WebEye.Controls.WinForms.WebCameraControl.WebCameraId In WCPrev.GetVideoCaptureDevices
                Cams.Add(cam)
            Next
            WCSelect.Items.Clear()
            For Each cam As WebEye.Controls.WinForms.WebCameraControl.WebCameraId In WCPrev.GetVideoCaptureDevices
                WCSelect.Items.Add(cam.Name)
            Next

        End Sub

        Private Sub TextBox3_TextChanged(sender As Object, e As PreviewKeyDownEventArgs) Handles GEEmuHotkeyTB.PreviewKeyDown
            Dim kc As New KeysConverter

            Dim KeyCode = e.KeyCode
            Dim FriendlyName As String = kc.ConvertToString(e.KeyCode)
            Dim ControlKey As Boolean = False

            'Test if shift,ctrl or alt pressed
            If e.KeyCode = Keys.Control Or e.KeyCode = Keys.Alt Or e.KeyCode = Keys.Shift Then
                cfdb.echo("Control key pressed")
                ControlKey = True
            End If

            '    cfdb.echo("MOdified keys used. Determining which one...")
            If GetKeyState(Keys.LShiftKey) < 0 Then
                KeyCode = 160
                FriendlyName = "LShiftKey"
            ElseIf GetKeyState(Keys.LControlKey) < 0 Then
                KeyCode = 162
                FriendlyName = "LControlKey"
            ElseIf GetKeyState(Keys.LWin) < 0 Then
                KeyCode = 91
                FriendlyName = "LWin"
            ElseIf GetKeyState(Keys.RControlKey) < 0 Then
                KeyCode = 163
                FriendlyName = "RControlKey"
            ElseIf GetKeyState(Keys.RShiftKey) < 0 Then
                KeyCode = 161
                FriendlyName = "RShiftKey"
            ElseIf GetKeyState(Keys.RWin) < 0 Then
                KeyCode = 92
                FriendlyName = "RWin"
            ElseIf GetKeyState(Keys.LMenu) < 0 Then
                KeyCode = 164
                FriendlyName = "LMenu"
            ElseIf GetKeyState(Keys.RMenu) < 0 Then
                KeyCode = 165
                FriendlyName = "RMenu"
            End If
            'End If
            ' MsgBox("KeyName: " & FriendlyName & vbCr & "KeyCode: " & KeyCode, MsgBoxStyle.Information)

            sender.text = FriendlyName
            sender.tag = KeyCode

            GEmvoy.Setts.GEEmuHotkey = KeyCode
            GEEmuHotkeyTB.Text = FriendlyName

            GEmvoy.Setts.SaveSetts()
        End Sub


        Private Sub GPSelSetTB_TextChanged(sender As Object, e As EventArgs) Handles GPSelSetTB.TextChanged
        End Sub
        Private Sub GPSelSetTB_Enter(sender As Object, e As EventArgs) Handles GPSelSetTB.Enter
            If NoGPConnected() Then Return
            If GamePadAvail = True Then
                sender.backcolor = Color.Green
                sender.forecolor = Color.White
                sender.text = "Press Button"
                GPTimer.Start()
                SetGPSelect = True
            Else
                MsgBox("No Gamepad connected...")
            End If

        End Sub
        Private Sub GPSelSetTB_Leave(sender As Object, e As EventArgs) Handles GPSelSetTB.Leave
            If GamePadAvail = True Then
                If ThemeLoaded = True Then
                    sender.backcolor = My.Settings.ColReadOnlyBG
                    sender.forecolor = My.Settings.ColReadOnlyText
                Else
                    sender.backcolor = Color.Empty
                    sender.forecolor = Color.Empty
                End If
                GPTimer.Stop()
                SetGPSelect = False

                If sender.Text = "" Or sender.text = "Press Button" Then
                    sender.Text = "Button1"
                    sender.Tag = 1
                End If

                GEmvoy.Setts.QLGPSel = GPSelSetTB.Tag
                GEmvoy.Setts.SaveSetts()
            End If

        End Sub

        Private Sub GPButtonDetected(e As Integer) Handles Me.GPButtonDown

            cfdb.echo("GPButtonDetected. Number: " & e.ToString)

            If SetGPSelect = True Then
                Dim name As String = [Enum].GetName(GetType(Joystick.Buttons), e)
                If name = "" Then name = "Combo"
                GPSelSetTB.Text = name
                GPSelSetTB.Tag = e
            End If

            If SetCamHK = True Then
                Dim name As String = [Enum].GetName(GetType(Joystick.Buttons), e)
                If name = "" Then name = "Combo"
                CamGPHotkeyTB.Text = name
                CamGPHotkeyTB.Tag = e
            End If

            If SetEmuHK = True Then
                Dim name As String = [Enum].GetName(GetType(Joystick.Buttons), e)
                If name = "" Then name = "Combo"
                EmuHKGPTB.Text = name
                EmuHKGPTB.Tag = e
            End If

        End Sub

        Private Sub CamGPHotkeyTB_Enter(sender As Object, e As EventArgs) Handles CamGPHotkeyTB.Enter
            If NoGPConnected() Then Return
            If GamePadAvail = True Then
                sender.backcolor = Color.Green
                sender.forecolor = Color.White
                sender.text = "Press Button"
                GPTimer.Start()
                SetCamHK = True
            Else
                MsgBox("No Gamepad connected...")
            End If
        End Sub
        Private Sub CamGPHotkeyTB_Leave(sender As Object, e As EventArgs) Handles CamGPHotkeyTB.Leave
            If GamePadAvail = True Then
                If ThemeLoaded = True Then
                    sender.backcolor = My.Settings.ColReadOnlyBG
                    sender.forecolor = My.Settings.ColReadOnlyText
                Else
                    sender.backcolor = Color.Empty
                    sender.forecolor = Color.Empty
                End If

                GPTimer.Stop()
                SetCamHK = False

                If CamGPHotkeyTB.Text = "" Or sender.text = "Press Button" Then
                    CamGPHotkeyTB.Text = "Button1"
                    CamGPHotkeyTB.Tag = 1
                End If

                GEmvoy.Setts.CamGPhotkey = CamGPHotkeyTB.Tag
                GEmvoy.Setts.SaveSetts()
            End If

        End Sub


        Private Sub RefreshGPs_Click(sender As Object, e As EventArgs) Handles RefreshGPs.Click
            InitGamepads()
        End Sub

        Private Sub MsgBoxPrevPB_Click(sender As Object, e As EventArgs) Handles MsgBoxPrevPB.Click
            Dim pic As New PictureViewer
            pic.Image = MsgBoxPrevPB.Image
            pic.Show()
        End Sub


        Private Sub EmuHKGPTB_TextChanged(sender As Object, e As EventArgs) Handles EmuHKGPTB.TextChanged
        End Sub
        Private Sub EmuHKGPTB_Enter(sender As Object, e As EventArgs) Handles EmuHKGPTB.Enter
            If NoGPConnected() Then Return
            If GamePadAvail = True Then
                sender.backcolor = Color.Green
                sender.forecolor = Color.White
                sender.text = "Press Button"
                GPTimer.Start()
                SetEmuHK = True
            Else
                MsgBox("No Gamepad connected...")
            End If
        End Sub
        Private Sub EmuHKGPTB_Leave(sender As Object, e As EventArgs) Handles EmuHKGPTB.Leave
            If GamePadAvail = True Then
                If ThemeLoaded = True Then
                    sender.backcolor = My.Settings.ColReadOnlyBG
                    sender.forecolor = My.Settings.ColReadOnlyText
                Else
                    sender.backcolor = Color.Empty
                    sender.forecolor = Color.Empty
                End If
                GPTimer.Stop()
                SetEmuHK = False

                If EmuHKGPTB.Text = "" Or sender.text = "Press Button" Then
                    EmuHKGPTB.Text = "Button1"
                    EmuHKGPTB.Tag = 1
                End If

                GEmvoy.Setts.EmuGPhotkey = EmuHKGPTB.Tag
                GEmvoy.Setts.SaveSetts()
            End If
        End Sub


        Private Sub RandomIntroBT_Click(sender As Object, e As EventArgs) Handles RandomIntroBT.Click
            With FBD1
                .Description = "Choose the folder containing the Intro sound files...."
                .SelectedPath = RandomINtroTB.Text
            End With
            Dim result As Windows.Forms.DialogResult = FBD1.ShowDialog()
            If result = Windows.Forms.DialogResult.OK Then
                RandomINtroTB.Text = FBD1.SelectedPath
            End If
            My.Settings.RndIntro = FBD1.SelectedPath
            My.Settings.Save()
        End Sub

        Private Sub RandomLaunchBT_Click(sender As Object, e As EventArgs) Handles RandomLaunchBT.Click
            With FBD1
                .Description = "Choose the folder containing the Launch sound files...."
                .SelectedPath = RandomLaunchTB.Text
            End With
            Dim result As Windows.Forms.DialogResult = FBD1.ShowDialog()
            If result = Windows.Forms.DialogResult.OK Then
                RandomLaunchTB.Text = FBD1.SelectedPath
            End If
            My.Settings.RndLaunch = FBD1.SelectedPath
            My.Settings.Save()
        End Sub

        Private Sub RandomIntroBTChB_CheckedChanged(sender As Object, e As EventArgs) Handles RandomIntroBTChB.CheckedChanged
            If RandomIntroBTChB.Checked = True Then
                My.Settings.RndIntroEnabled = True
                GEmvoy.Setts.RndIntroPath = RandomINtroTB.Text
            Else
                My.Settings.RndIntroEnabled = False
                GEmvoy.Setts.RndIntroPath = "Disabled"
            End If
            My.Settings.Save()
            GEmvoy.Setts.SaveSetts()

        End Sub


        Private Sub RandomLaunchChB_CheckedChanged(sender As Object, e As EventArgs) Handles RandomLaunchChB.CheckedChanged
            If RandomLaunchChB.Checked = True Then
                My.Settings.RndLaunchEnabled = True
                GEmvoy.Setts.RndLaunchPath = RandomLaunchTB.Text
            Else
                My.Settings.RndLaunchEnabled = False
                GEmvoy.Setts.RndLaunchPath = "Disabled"
            End If
            My.Settings.Save()
            GEmvoy.Setts.SaveSetts()
        End Sub

        Private Sub SettsReset_Click(sender As Object, e As EventArgs) Handles SettsReset.Click
            If MsgBox("This requires a restart of Gemvoy - so will reset the settings and then shut down. Do you want to continue?", MsgBoxStyle.YesNo, "Reset and close Gemvoy?...") = MsgBoxResult.No Then Return
            My.Settings.Reset()
            My.Settings.Save()
            Me.Close()

        End Sub


        Private Sub GamesListDGV_RowHeaderMouseClick(sender As Object, e As DataGridViewCellMouseEventArgs) Handles GamesListDGV.RowHeaderMouseClick
            Try
                GameSelCB.SelectedValue = GamesListDGV.Rows(e.RowIndex).Cells("ID").Value
                GameSelCB.Refresh()
                GameSelCB_SelectedIndexChanged(Nothing, Nothing)
            Catch
            End Try

        End Sub

        Private Sub QLBaseBT_Click(sender As Object, e As EventArgs) Handles QLBaseBT.Click
         With FBD1
                .Description = "Choose the base folder for the Quicklaunch folders..."
                .SelectedPath = QLBaseTB.Text
            End With
            Dim result As Windows.Forms.DialogResult = FBD1.ShowDialog()
            If result = Windows.Forms.DialogResult.OK Then
                Dim filepath As New Uri(FBD1.SelectedPath)
                If filepath.IsUnc Then
                    MsgBox("The slected path must begin with a drive letter. No UNC (network) paths allowed. If you're wanting to use a network path, use a mapped network drive instead. Read the FAQa on the Codeplex documentation for more info on this.", MsgBoxStyle.Exclamation, "ERROR: UNC path chosen")
                    Return
                Else
                    QLBaseTB.Text = FBD1.SelectedPath
                    My.Settings.BaseQLDir = FBD1.SelectedPath
                End If
            End If

            My.Settings.Save()
        End Sub

        Private Sub AutoGameSwitchCB_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox1.CheckedChanged
            If CheckBox1.Checked = True Then
                My.Settings.AutoGameSwitch = True
            Else
                My.Settings.AutoGameSwitch = False
            End If

            My.Settings.Save()
        End Sub

        Private Sub FormText_Click(sender As Object, e As EventArgs) Handles FormText.Click, FreeText.Click, DropdownText.Click, ReadOnlyText.Click, TextboxBG.Click, DropdownBG.Click, ReadOnlyBG.Click, ButtonsBG.Click, FormBG.Click, TopPanelBG.Click, DatagridBG.Click, DatagridHeadersBG.Click, DatagridText.Click

            With ColorDialog1
                .Color = sender.backcolor
                .AnyColor = True
                .FullOpen = True
            End With

            If ColorDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
                sender.backcolor = ColorDialog1.Color
                Select Case sender.name
                    Case "FormText"
                        My.Settings.ColFormText = sender.backcolor
                    Case "FreeText"
                        My.Settings.ColFreeText = sender.backcolor
                    Case "DropdownText"
                        My.Settings.ColDropdownText = sender.backcolor
                    Case "ReadOnlyText"
                        My.Settings.ColReadOnlyText = sender.backcolor
                    Case "TextboxBG"
                        My.Settings.ColTextboxBG = sender.backcolor
                    Case "DropdownBG"
                        My.Settings.ColDropdownBG = sender.backcolor
                    Case "ReadOnlyBG"
                        My.Settings.ColReadOnlyBG = sender.backcolor
                    Case "ButtonsBG"
                        My.Settings.ColButtonsBG = sender.backcolor
                    Case "FormBG"
                        My.Settings.ColFormBG = sender.backcolor
                    Case "TopPanelBG"
                        My.Settings.ColTopPanelBG = sender.backcolor
                    Case "DatagridBG"
                        My.Settings.ColDatagidBG = sender.backcolor
                    Case "DatagridHeadersBG"
                        My.Settings.ColDatagridHeaders = sender.backcolor
                    Case "DatagridText"
                        My.Settings.ColDatagridText = sender.backcolor
                End Select
            End If
            My.Settings.Save()

        End Sub

        Private Sub CustmLoadStartup_CheckedChanged(sender As Object, e As EventArgs) Handles CustmLoadStartup.CheckedChanged
            If sender.checked = True Then
                My.Settings.CustomThemeStartup = True
            Else
                My.Settings.CustomThemeStartup = False
            End If
            My.Settings.Save()
        End Sub


        Private Sub MakeQLDirBT_Click(sender As Object, e As EventArgs) Handles MakeQLDirBT.Click
            If Not Directory.Exists(My.Settings.BaseQLDir) Then
                MsgBox("Error with the Quicklaunch Folder - please check in Settings.")
                Return
            End If

            If Not Directory.Exists(My.Settings.BaseQLDir & "\" & SysCB.Text) Then
                Directory.CreateDirectory(My.Settings.BaseQLDir & "\" & SysCB.Text)
                MsgBox("New Quicklaunch folder made for this system.", MsgBoxStyle.Information)
            Else
                MsgBox("Quicklaunch faolder already exists for this system. Set to that folder.", MsgBoxStyle.Information)
            End If
            QuicklaunchTB.Text = My.Settings.BaseQLDir & "\" & SysCB.Text

        End Sub

        Private Sub Button22_Click(sender As Object, e As EventArgs) Handles Button22.Click

            Process.Start(GEmvoy.GameExPath & "\PLUGINS\GEmvoy\MainLog.txt")
        End Sub

        Private Sub ConfigLog_Click(sender As Object, e As EventArgs) Handles ConfigLog.Click
            Process.Start(GEmvoy.GameExPath & "\PLUGINS\GEmvoy\ConfigLog.txt")
        End Sub

        Private Sub EmuHeaderTB_Click(sender As Object, e As EventArgs) Handles EmuHeaderTB.GotFocus
            LogoPB.Focus()
        End Sub


        Private Sub GameID_TextChanged(sender As Object, e As EventArgs) Handles GameID.TextChanged
            If sender.text = "-1" Then
                GameSuppAppsDGV.Visible = False
                GameKeyRemapDGV.Visible = False
                GamePGSettsDGV.Visible = False
                GamesEmuSettsGB.Visible = False
                GroupBox42.Visible = False
            Else
                GameSuppAppsDGV.Visible = True
                GameKeyRemapDGV.Visible = True
                GamePGSettsDGV.Visible = True
                GamesEmuSettsGB.Visible = True
                GroupBox42.Visible = True
            End If
        End Sub

        Private Sub NetZipToLocalChB_CheckedChanged(sender As Object, e As EventArgs) Handles NetZipToLocalChB.CheckedChanged
            If sender.checked = True Then
                GEmvoy.Setts.NetZipToLocal = True
            Else
                GEmvoy.Setts.NetZipToLocal = False
            End If
        End Sub


        Private Sub ROMSFolderTB_TextChanged(sender As Object, e As EventArgs) Handles ROMSFolderTB.TextChanged
            GamesRomFolderTB.Text = sender.text
        End Sub

        Private Sub DbDirBT_Click(sender As Object, e As EventArgs) Handles DbDirBT.Click
            With FBD1
                .Description = "Choose the folder to hold the database file..."
                .SelectedPath = GEmvoy.Setts.DatabaseDir
            End With
            Dim result As Windows.Forms.DialogResult = FBD1.ShowDialog()
            If result = Windows.Forms.DialogResult.OK Then
                Dim filepath As New Uri(FBD1.SelectedPath)
                If filepath.IsUnc Then
                    MsgBox("The slected path must begin with a drive letter. No UNC (network) paths allowed. If you're wanting to use a network path, use a mapped network drive instead. Read the FAQa on the Codeplex documentation for more info on this.", MsgBoxStyle.Exclamation, "ERROR: UNC path chosen")
                    Return
                Else
                    MsgBox("Important Message: DO NOT map two separate installations of GEmvoy to the same database path. This will cuase the respective databases so conflict and corrupt your database (no matter how well matched you think they are).", MsgBoxStyle.Information, "Important Service Announcement...")
                    Dim oldfile As String = GEmvoy.Setts.DatabaseDir & "\GemDS.xml"
                    Try

                        File.Copy(oldfile, FBD1.SelectedPath & "\GemDS.xml", True)
                    Catch ex As Exception
                        MsgBox("Could not copy the existing database file. You may have to transfer this manually. File located at: " & vbCr & vbCr & oldfile, MsgBoxStyle.Information, "Error moving database file")
                    End Try

                    GEmvoy.Setts.DatabaseDir = FBD1.SelectedPath
                    DbDirTB.Text = FBD1.SelectedPath
                End If
            End If
            My.Settings.Save()
        End Sub

      
        Private Sub CloudDummyExtTB_TextChanged(sender As Object, e As EventArgs) Handles CloudDummyExtTB.Validated

            My.Settings.CloudDummyExt = sender.text
            My.Settings.Save()

        End Sub


        Private Sub StripBracketsChB_CheckedChanged(sender As Object, e As EventArgs) Handles StripBracketsChB.CheckedChanged
            If StripBracketsChB.Checked = True Then
                GEmvoy.Setts.StripBrackets = True
            Else
                GEmvoy.Setts.StripBrackets = False
            End If
        End Sub

        Private Sub GameEditNameTB_TextChanged(sender As Object, e As EventArgs) Handles GameEditNameTB.Validating
            GameEditNameTB.Text = MakeCPWBSafe(GameEditNameTB.Text)

        End Sub

        

        Private Sub ResetWindowToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ResetWindowToolStripMenuItem.Click
            Me.Size = New Size(1000, 600)
            Me.Location = New Point(10, 10)
            Me.Visible = True
            Me.WindowState = FormWindowState.Normal

        End Sub

        Private Sub CreateFolderBT_Click(sender As Object, e As EventArgs) Handles CreateFolderBT.Click
            If CrFoldersChB.Text = "" Then Return

            With FBD1
                .Description = "Choose the base folder to create the subfolders in..."
            End With
            Dim result As Windows.Forms.DialogResult = FBD1.ShowDialog()
            If result = Windows.Forms.DialogResult.OK Then

                Select Case CrFoldersChB.Text
                    Case "Systems"
                        For Each sys As DataRow In GemDSConfig.Tables("SystemsList").Rows
                            If Directory.Exists(FBD1.SelectedPath & "\" & sys("Name")) Then
                                '
                            Else
                                Directory.CreateDirectory(FBD1.SelectedPath & "\" & sys("Name"))
                            End If
                        Next
                    Case "Emulators"
                        For Each sys As DataRow In GemDSConfig.Tables("EmulatorList").Rows
                            If Directory.Exists(FBD1.SelectedPath & "\" & sys("Name")) Then
                                '
                            Else
                                Directory.CreateDirectory(FBD1.SelectedPath & "\" & sys("Name"))
                            End If
                        Next
                End Select
            End If



            MsgBox("Folders Created", MsgBoxStyle.Information)

        End Sub


#Region "Speech Recognition"

        Private Sub Button23_Click(sender As Object, e As EventArgs) Handles Button23.Click

            Dim testPhrases As New Speech.Recognition.Choices
            testPhrases.Add(New String() {"OK Mago", "what time is it", "how's the weather"})

            Dim gb As New Speech.Recognition.GrammarBuilder()
            gb.Append(testPhrases)

            Dim g As New Speech.Recognition.Grammar(gb)


            Dim gram As New System.Speech.Recognition.DictationGrammar() ' alternative

            sre.LoadGrammar(gram)

            sre.SetInputToDefaultAudioDevice()
            sre.RecognizeAsync(Recognition.RecognizeMode.Multiple)

            SpeechTimer.Start()

            'Weather test
          

            
        End Sub

        Public Sub GotSpeech(ByVal sender As Object, ByVal phrase As System.Speech.Recognition.SpeechRecognizedEventArgs) Handles sre.SpeechRecognized
            'MsgBox("yerp")
            srRTB.Text += "==========================" & vbNewLine
            srRTB.Text += "HIT: [" & phrase.Result.Confidence & "] " & phrase.Result.Text & vbNewLine
            For Each alt As Speech.Recognition.RecognizedPhrase In phrase.Result.Alternates
                srRTB.Text += "ALT: [" & alt.Confidence & "] " & alt.Text & vbNewLine
            Next
            For Each word As Speech.Recognition.RecognizedWordUnit In phrase.Result.Words
                srRTB.Text += "HPN: [" & word.Confidence & "] " & word.Text & vbNewLine
            Next

            srRTB.SelectionStart = srRTB.Text.Length
            srRTB.ScrollToCaret()

        End Sub

        Private Sub SpeechTimer_Tick(sender As Object, e As EventArgs) Handles SpeechTimer.Tick

            AudioLevelTB.Text = sre.AudioLevel
            AudioLevelTrB.Value = sre.AudioLevel

        End Sub



#End Region


        Private Sub srRTB_TextChanged(sender As Object, e As EventArgs) Handles srRTB.TextChanged

        End Sub

        Private Sub Button24_Click(sender As Object, e As EventArgs) Handles Button24.Click
            Dim AdjustQLPicker As New QLPicker
            AdjustQLPicker.ShowHandles = True
            AdjustQLPicker.Show()
        End Sub

        Private Sub Sys_SAppsDGV_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles Sys_SAppsDGV.CellContentClick

        End Sub
    End Class
End Namespace

